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 the difference between the application object and session object?
What is tablesample?
Explain indexed views?
How to insert multiple rows with one insert statement in ms sql server?
Explain where clause?
How to list all user names in a database?
Explain system functions or built-in functions? What are different types of system functions?
When is the use of update_statistics command?
How to find which stored procedure is currently running in sql server?
How ssrs maintain security?
Do you know what are the ways available in sql server to execute sql statements?
Which table keeps information about stored procedures?
How do I setup a local sql server database?
What are orphan records?
What is collation sensitivity?