I have some questions on the unload command.
I have a query such as:
Unload to c:\junk\test.txt delimiter ""
select
field1,
field2,
field3
from file1
Even though i put a delimiter of 2 double quotes. I still get pipes. Why?
Also if field1 and field2(both char (3)) are blank, the results are
pipes but no spaces between the pipes. I was expecting there to be 3 spaces between the pipes. How do I get rid of the pipes and maintain the 3 spaces even if field value is blank?
Thanks
I have a query such as:
Unload to c:\junk\test.txt delimiter ""
select
field1,
field2,
field3
from file1
Even though i put a delimiter of 2 double quotes. I still get pipes. Why?
Also if field1 and field2(both char (3)) are blank, the results are
pipes but no spaces between the pipes. I was expecting there to be 3 spaces between the pipes. How do I get rid of the pipes and maintain the 3 spaces even if field value is blank?
Thanks