Simon's Bits and Bobs
Tuesday, 19 July 2016
SQL Server - drop an index if exists
if exists (select name from sysindexes where name = 'pk_apc_scg')
drop index tbl_apc_scg.pk_apc_scg
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment