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 is similarity and difference between truncate and delete in sql?
What are the advantages of stored procedure in sql server?
what are triggers? : Sql server database administration
Do you know clustered and non-clustered index?
What is the difference between an index and a unique index?
What is update locks?
What is set nocount on?
what information is maintained within the msdb database? : Sql server administration
What are various limitations of the views?
1 01 101 01010
What is a fan-out query in SQL Azure?
User wants only to display only pdf as export option in report manager. How to achieve this?
How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?
why would you call update statistics? : Sql server database administration
When would you use sql joins?