Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | tmccarStarting Member
 
 
                                        27 Posts | 
                                            
                                            |  Posted - 2011-09-08 : 08:19:46 
 |  
                                            | I'm doing a BULK INSERT using the following code:BULK INSERT dbo.DrawingsFROM 'C:\extracteddata\Drawings.txt'WITH (FORMATFILE = 'C:\extracteddata\CURRENCY.xml');GOSELECT * FROM DBO.Drawings;GOand it exits with this error:Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 28, column 49 (Record_last_updated)I believe the issue is that the date is in the wrong format. (In the XML file the field format is "SQLDATETIME")What's the best way to correct this?desperately seeking data |  |  
                                    | tkizerAlmighty SQL Goddess
 
 
                                    38200 Posts |  |  
                                |  |  |  |