Viewing 15 posts - 31 through 45 (of 151 total)
Also from MSDN under NVARCHAR at: http://msdn.microsoft.com/en-us/library/ms186939(SQL.90).aspx
SET ANSI_PADDING is always ON for nchar and nvarchar. SET ANSI_PADDING OFF does not apply to the nchar or nvarchar data types.
--SJT--
By the way,...
August 22, 2008 at 8:30 am
I guess your issue is with SQL Mail?
Technically yes - but practically, none of these are enabled, so the end result is the same.
In fact MSDN/BOL regards them to be...
August 19, 2008 at 9:22 am
Replace the occurrences of ', (@myvar)' in your code with ',' + @myvar. 🙂
--SJT--
August 18, 2008 at 8:10 am
After navigating to your link, it's shown as a how to for an order management database. That being the case, that Product table is a reprehensible thing to be showing...
August 15, 2008 at 3:33 pm
I've been noodling around with music since age 8. I consider music to be my only 'formal education'.
I've done most woodwinds, but the only instrument I continue to play is...
August 15, 2008 at 11:23 am
Well, the SQL statement is syntactically correct. I would still point a finger at the source data having those several different 'formats'. Two things to help troubleshoot, and one silly...
August 14, 2008 at 8:52 am
sonia,
Aha! And here I was trying to duplicate the text of your error by manipulating everything but the row terminator in the source file. A little knowledge gained for me.
Good...
August 8, 2008 at 1:41 pm
sonia,
Well, then this is almost certainly a problem with the data in the source file. You might want to try using int instead of smallint to test the contents of...
August 8, 2008 at 1:03 pm
sonia (8/8/2008)
the rpevious post showed it wrong again. the row terminator in my data is[ new line]
Given the correction you noted, the code works as expected for me. The error...
August 8, 2008 at 12:48 pm
I see that the forums program takes issue with the newline character. Are you using newline for the ROWTERMINATOR?
ROWTERMINATOR = '' --Can't get the newline to show up here. Someone...
August 8, 2008 at 12:42 pm
sonia (8/8/2008)
the datatypes for the columns are bigint and smallint.
What type is defined for the data in column 3? Also, are you using a format file or just letting BULK...
August 8, 2008 at 12:14 pm
The first line of the error seems to indicate a difference between the data in the file and how it is defined in either the target table or the format...
August 8, 2008 at 11:50 am
Latheesh,
The question, as posed, can't be answered. We need more information before we can assist.
For example: is the precision of the desired output known? Can the precision of the input...
July 30, 2008 at 11:50 am
Viewing 15 posts - 31 through 45 (of 151 total)