SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Check constraint condition
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vrajput
Starting Member

India
3 Posts

Posted - 10/03/2012 :  04:02:29  Show Profile  Reply with Quote
How do we query the condition used in the check constraint

Thanks,
Vikam

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 10/03/2012 :  10:44:49  Show Profile  Reply with Quote
do

sp_Help 'table name'

and it will show CHECK constraints defined in the table along with conditions specified for them

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000