Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* How to drop columns with constraint */
- use codejams
- go
- /* Remove the constraint and drop the column*/
- alter table BlockedIpAdresses drop constraint FK__BlockedIp__UserI__5AEE82B9;
- alter table BlockedIpAdresses drop column UserID;
- alter table [Users] drop column UserName;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement