Using SQL Server 2008
Table1 has a constraint with the name idx_u_customerinfo
.
I deleted table1
directly (right click delete), I wrote a script for creating the table1 with same constraint name idx_u_customerinfo
.
I'm getting an error
There is already an object named 'idx_u_customerinfo' in the database.
I need to delete the constraint name, How to do this?