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 differences between decimal and float in ms sql server?
How to provide default values to function parameters?
What is an example of a primary key?
What is a partition function in sql server?
In which format does an image save in SQL Server database ?
Is mysql the same as sql server?
What is the distinction amongst delete and truncate?
What is the purpose of sql profiler in sql server?
What specific conditions database should meet, before you can bulk copy data into it using bcp?
What is the recovery model? List the types of recovery model available in sql server?
How to create an index on a view?
What is the datatype of rowid?
Explain aggregate functions?
Explain what is raid and what are different types of raid levels?
What is a join in sql?