Viewing 2 posts - 1 through 2 (of 2 total)
I also resolve my issue with bulk copy command using xp_cmdshell by adding additional option for servername -S ServerName.
Thanks for your help!
August 12, 2010 at 7:20 pm
#1206373
that was my typo. Row terminator is '|'
syntax I have used in my stored procedure is as below
BULK INSERT TBALE_NAME FROM '\\Server_Name\Complete_Path\FileName.txt' WITH (
FIELDTERMINATOR = '|',
ROWTERMINATOR = '|',
LASTROW = 0,TABLOCK
)
I...
August 10, 2010 at 12:09 pm
#1204952