Quantcast
Channel: BCP error
Browsing all 5 articles
Browse latest View live

BCP error

"-t,"  specify the filed terminator as a comma"-r\r\n" specify the row terminator as ENTER (carriage return and line feed)Are those the filed and row delimiter of the file?

View Article



BCP error

Thank you both, I tried the following but it only loaded one record. Where should I specify column and row delimter?EXEC master.dbo.xp_cmdshell'bcp Test2.dbo.TestTableImport in C:\TestTable.csv -c -T...

View Article

BCP error

It looks like there's a space between C:\TestTable and .csv, hence bcp consider .csv a parameter which is unknown.

View Article

BCP error

Why is that the following code doesn't work ..(error is Unknown argument '.csv' on command line.)exec master.dbo.xp_cmdshell 'bcp Test2.dbo.TestTableImport in C:\TestTable .csv -c -T -t 'But the...

View Article

BCP error

Why is that the following code doesn't work ..(error is Unknown argument '.csv' on command line.)exec master.dbo.xp_cmdshell 'bcp Test2.dbo.TestTableImport in C:\TestTable .csv -c -T -t 'But the...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images