Question : Bulk insert a excel file

I want to Bulk insert an excel file into a SQL table. Can I use the Bulk insert command for it?

When I tried 'Bulk Insert', I got a truncation error message (the size of the column in table is nvarchar(50) and the field length from the file is not greater than 50.

Thanks

Answer : Bulk insert a excel file

why don't you use OPENROWSET or LinkedServer?

Random Solutions  
 
programming4us programming4us