Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
paritosh
Starting Member
42 Posts |
Posted - 2012-02-13 : 09:09:57
|
| I HAVE A DATA BASE OF 100 TABLESHOW TO GET WHICH TABLE HAVE DEFAULT ,CHECK AND NOT NULL CONSTRAINT WITH NAME PLS >>>>>>>>>>>THANKS IN ADVANCE |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-02-13 : 09:32:28
|
| for default constraints refer sys.default_constraints catalog viewfor check constraints sys.check_constraintsand for NOT NULL columns refer sys.columns with condition is_nullable = 0------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2012-02-13 : 10:41:23
|
| Also look at Information_schema views. You have many views to show various relationshipsMadhivananFailing to plan is Planning to fail |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|