I'm trying to insert a lot of data with SQL Server Management Studio. This is what I do:
- I open my file containing a lot of SQL inserts:
data.sql - I execute it (
F5) I get a lot of these:
(1 row(s) affected)and some of these:
Msg 8152, Level 16, State 13, Line 26 String or binary data would be truncated. The statement has been terminated.
Question: How to get the error line number ? Line 26 doesn't seems to be the correct error line number...