Error in reading ' (apostrophe) from text file into sql server -
I am bulking from a text file on the sql server, but facing the error in reading the text file This error is due to the presence of 'in the text file', as it is known that 'the string is used to indicate the beginning and end, please tell me how the eyewater arrives.
The text file is for inserting data from SQL data
from bulk insert #tmpfile to c: \ data.txt (firstrow = 2, fieldterminator = ':!' , Rowtermintor = '\ n') A line in the text file where 'is present
32562:!: Sequoandan Muriki, analyst,' Development activities Belongs to ------- & gt; I have no right to edit the text file by placing another Astro (') to avoid here, please tell me what to do < P>
'is a surviving character, if you do a search and change it again with' (this two single quotes) this is your problem Will solve
Comments
Post a Comment