Greetings,
When exporting qry resuts to CSV one column is so wide it wraps to the next row and the columns after it.
Is there a way to 'force' all columns on one line? or a format besides csv that I could export to?
Here is my batch code...
Thanks for your time and help,
cgh
When exporting qry resuts to CSV one column is so wide it wraps to the next row and the columns after it.
Is there a way to 'force' all columns on one line? or a format besides csv that I could export to?
Here is my batch code...
Code:
C:
cd Program Files\Microsoft SQL Server\80\Tools\Binn
dir
sqlcmd.exe -S PROD01 -w 2000 -s "," -d medical -U access -P access -i "H:\AutomatedScripts\HM_v1_07172009.sql" -o "H:\AutomatedScripts\HM_Output.csv"
H:
cd \AutomatedScripts
email_hm_file.vbs
Thanks for your time and help,
cgh