Hi,
this is my requirment, I have a data in table like below
ProductName Amount
XXX 12.25
YYY 0.25
ZZZ -0.87
When I export these data into text file (delimiter is "|") it is exported as below
xxx|12.25
YYY|.25
ZZZ|-.87
but I want like below
xxx|12.25
YYY|0.25
ZZZ|-0.87
my project we have to use only BCP for this. I spent lot of time on BCP command with all the options but its went vain. Do we have options to set the numeric column format in SQL Server (like we can set the data format with the help of SET DATAFORMAT command)
Regards,
Ramesh R