Hi
I am trying to bulk insert pipe delimited text file below is my text file looks like
a|b|c|
when I look at the file it has lot of spaces after the data so when I try to bulk insert it is searching for end of file I believe
I am inserting through the store procedure. My bulk insert statement is
SET@SQL="BULK INSERT #temp FROM '"+@sourceFile+
"' WITH (FIELDTERMINATOR='|', ROWTERMINATOR ='"+Char(10)+"', FIRSTROW=2)"
The result is 0 rows effected. I don't know why.
Can anybody help me.
Thanks
Mary Sunish