Can I remove the default constraint columns in SQL SERVER?
Answer Posted / krishnakumar
table create time must constraint name is important..create
time not use constraint name don't delete don't delete
constraint column
alter table table_name drop constraint <constraint name>
table create time use this query
create table delete_table(emp_id int constraint del_pk
primary key,age int)
constraint name delere query
.............................
alter table delete_table drop constraint del_pk
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the difference between data mart and data warehouse? : sql server analysis services, ssas
What is the use of =,==,=== operators?
What are the steps to follow to configure SQL*Net?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
What is side by side migration in sql server?
Name few endpoints exposed by ssrs 2012?
Explain cdc and sql injection?
What is the purpose of the tempdb database?
What is constraints and its types?
Do you know what is rank function?
What is sql server schema compare? How we can compare two database schemas?
Can you please explain the difference between primary keys and foreign keys?
Can we create clustered index on composite key?
What is a heap?
What is efficiency data?