How to delete a row in SQL Server via Identity? -
what's proper syntax row delete via identity column? query:
"delete [table] [column 'count'] = 1"
works. while same query identity column 'index' fails.
"delete [table] index = 1"
i'm trying delete last inserted row ident_current([table]).
index reserved word. have escape square brackets.
delete [table] [index] = 1
and sure give special "thanks" whoever designed schema column name in first place.
Comments
Post a Comment