Link to home
Start Free TrialLog in
Avatar of Stanley Lai
Stanley LaiFlag for Hong Kong

asked on

MS SQL syntax : How to use bcp to output a fixed column data file ?

Hi,

I'm now trying to use bcp command to output a MS SQL table into a "fixed column" format text file.  Could anyone help me on this and give me an example for quick resolution?  Thanks a lot.

Cheers
Stanley
Avatar of vinurajr
vinurajr

bcp Database.dbo.Table out c: Filename.txt -n -S Server -U Username -P Password -eC: error.txt
ASKER CERTIFIED SOLUTION
Avatar of vinurajr
vinurajr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial