Answer Posted / arunkumar2visit
create trigger trigger_name
on tablename
for update
as
if update(col_name)
begin
raiseerror('cannot update column name',16,1)
rollback trac
end
| Is This Answer Correct ? | 29 Yes | 2 No |
Post New Answer View All Answers
What are tables in sql server?
Where are SQL server users names and passwords are stored in sql server?
How do I completely remove sql server instance?
How would you use user_constraints table in DB?
How will you make an attribute not process? : sql server analysis services, ssas
how you can configure a running aggregate in SSRS?
Why do we need different type of parameter?
Write SQL queries on Self Join and Inner Join.
What is the difference between functions and scalar functions?
What are the types of table?
Explain primary key?
What is normalization of database? What are its benefits?
What is the Difference Between Primary and Foreign Key?
How to list all objects in a given schema?
What is update_statistics command?