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 |
|
sudha12345
Starting Member
47 Posts |
Posted - 2009-06-19 : 01:11:29
|
| I has a table which has the column IS_DELETED and it accepts NULL Valuei has to create to default value N on that indicating Not DeletedCan any one say how can we do thatSudhakar |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-06-19 : 02:10:28
|
| ALTER TABLE your_table ADD CONSTRAINT DF_IS_DELETED DEFAULT 'N' FOR IS_DELETEDMadhivananFailing to plan is Planning to fail |
 |
|
|
bklr
Master Smack Fu Yak Hacker
1693 Posts |
Posted - 2009-06-20 : 08:14:56
|
| see this link for default constraintshttp://www.mssqltips.com/tip.asp?tip=1425 |
 |
|
|
|
|
|