0

I have a table in SQL Server and underneath, there is a constraints folder. How can I view the constraints in that folder? I didn't see a modify constraint to where I can view it.

0

2 Answers 2

3

What do you mean by modify constraint ??

If you're talking about SQL Server Management Studio and its Object Explorer - you can right-click on the Constraints node for any given table and choose Add constraint - is that what you're looking for??

If you want to change an existing constraint. you need to click on that constraint and typically you need to script that out to drop and then re-create that constraint

enter image description here

You cannot just modify it "in place" (there's no Modify Constraint dialog box or anything like that).

Sign up to request clarification or add additional context in comments.

Comments

0

You can just right click it and choose script as Create to a new query window to see what it is.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.