We help IT Professionals succeed at work.
Get Started

Displaying Blank Fields with Empty Pipes

Last Modified: 2012-05-12
I have an output to a flat file from the below query.
         ,ITEM AS SKU
         ,'' AS Title_Date
         ,'' AS 'BOOK SKU'
         ,TITLE_DESC AS 'Description'
         ,'' AS 'Title Cost'
         ,NULL AS 'Title Costa'
         ,NULL AS 'Title Costb'
         ,'' AS 'Title Costc'
         ,'' AS 'Book Dept'
  INTO Temptbl
WHERE Genre = 'Fiction

 The delimiter is a pipe [|] I need the NULL values (or blank fields) to display with empty pipes
like this:  
The Self Help Guru|7.28||||||||

I am using an SSIS package to output the file.  How do I display the empty pipes?  This is  a customer requirement.
Watch Question
Top Expert 2011
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE