Mar 17, 2004 #1 rao1soft Programmer Nov 7, 2002 17 US Hi, While using the following statement to do a load: BULK INSERT mydb.dbo.mytable from 'C:\data.txt' with ( fieldterminator = '|' rowterminator = '\n' ) I get an error "Line 6: Incorrect syntax near 'rowterminator'. Help appreciated. --Rao.
Hi, While using the following statement to do a load: BULK INSERT mydb.dbo.mytable from 'C:\data.txt' with ( fieldterminator = '|' rowterminator = '\n' ) I get an error "Line 6: Incorrect syntax near 'rowterminator'. Help appreciated. --Rao.
Mar 17, 2004 #2 sunila7 Technical User Apr 11, 2001 1,087 US I think you have missed a comma after field terminator Try this BULK INSERT mydb.dbo.mytable from 'C:\data.txt' with ( fieldterminator = '|', rowterminator = '\n' ) Sunil Upvote 0 Downvote
I think you have missed a comma after field terminator Try this BULK INSERT mydb.dbo.mytable from 'C:\data.txt' with ( fieldterminator = '|', rowterminator = '\n' ) Sunil