Hi, I'm trying to `CAST(Column AS MONEY)` where the original data type is `NVARCHAR`. I keep getting this error. Msg 235, Level 16, State 0, Line 1 Cannot convert a char value to money. The char value has incorrect syntax. Any idea's? I looked at MSDN and it says it should be an implicit conversion so why the error? I've got 150k rows that I'm selecting out of and one value I found in there is 'GL16B'. Could this be the culprit?
Overview: The problem is that I'm importing a CSV file using BCP in a table where I've assigned all columns to NVARCHAR(255) because BCP kept breaking. In the CSV, some one uses comma's to seperate data, such as CHARLES E, WALKER, JR which BCP treats like three columns. I have only two columns defined for the fname and lname. What this does is it pushes every column after lname one place to the right. Which is why I have that 'GL16B' value in the NVARCHAR column which should only have MONEY values. Please help. Thanks,
S