I just realized my caps was on from working in SQL Server, ha.
Anyways, Im trying to write from
serverName.databaseName.databaseInstanceName.TableName
to
C:\FileName.xml
using bcp and I want to write only columns Col1 and Col2, could I get a little syntax help? I’m struggling over here.
Thanks,
Ted
FYI for anyone else….
bcp “Select whatever from dbInstanceName.dbo.tableName” quesryout C:\output.txt -e C:\errors.txt -c -T -S localhost\dbName