Can any body help me why do we go for nocheck constraint what is the main use of it?
my next question is what means by this statement below mentioned
create table sample1 (empid varchar(7) not null default 'new',empname varchar(20) not null default 'new' constraint pk_empid primary key(empid))
actually here a primary key constraint is created here but what for we use default 'new' , this query was done by my DBA I just need to know what is the use of that (default 'new')
If my question is so simple plz forgive me!I just want to learn them
Thanks in advance
Raghul
my next question is what means by this statement below mentioned
create table sample1 (empid varchar(7) not null default 'new',empname varchar(20) not null default 'new' constraint pk_empid primary key(empid))
actually here a primary key constraint is created here but what for we use default 'new' , this query was done by my DBA I just need to know what is the use of that (default 'new')
If my question is so simple plz forgive me!I just want to learn them
Thanks in advance
Raghul
Comment