Bulk insert txt error with ROWTERMINATOR?

It looks like something is wrong with '\r' translation to 0x0A, at least in my case.

It looks like something is wrong with '\r' translation to 0x0A, at least in my case. dbaspot.com/sqlserver-programming/463913... demonstrates how to do it with exec and specifying of rowterminator with char() function. It worked for me.

Paste of sample code from the link above: DECLARE @bulk_cmd varchar(1000) SET @bulk_cmd = 'BULK INSERT GRC.dbo. UP_040109 FROM ''C:\TEMP\up\524.d.0'' WITH (ROWTERMINATOR = '''+CHAR(10)+''',FIELDTERMINATOR = ''\t'')' EXEC(@bulk_cmd).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions