sql server - Find the exact line number of error in sql script -


i trying insert 1000 records each insert statement in table called zoneplaces. table having index.

when try run script insert on table throws error

msg 2601, level 14, state 1, line 56 cannot insert duplicate key row in object 'dbo.zoneplaces' unique index 'ix_zoneplaces'. 

line 56 start of insert statement. know inserting duplicate value there way find exact line number has error?

hope clear.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -