Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    It doesn't have to be done sequentially. You can do them both at the same time. Commented Dec 27, 2011 at 22:16
  • 1
    @MartinSmith: OK, great - thanks for sharing! I wasn't aware of this possibility - you learn something new every day! :-) Commented Dec 28, 2011 at 5:57
  • Can someone please provide an example for how to combine these two statements. I need somethink like: ALTER TABLE table DROP CONSTRAINT DF_XY DROP COLUMN XY Unfortunately the syntax of this statement isn't correct Commented Jun 3, 2013 at 16:27
  • 1
    @My-Name-Is: if you check out Martin's answer, you need to put a comma between the two DROP commands to make this work Commented Jun 3, 2013 at 16:34