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 the types of indexing?
Explain how many normalization forms?
What command do we use to rename a db, a table and a column?
Is null in sql server?
What is xdr?
Can a table be created inside a trigger?
Where can you add custom error messages to sql server?
What is executereader?
What should be the fill factor for indexes created on tables? : sql server database administration
What is sub query and its properties?
how many no of arguments can be passed in procedures and functions
Explain database normalization?
Explain nested join?
How to disable stored procedure sql server?
Find nth lowest salary or get nth lowest salary?