how can i lock the column in the table
Answers were Sorted based on User's Feedback
Answer / 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 |
How many columns can exist together per table?
What type of locking occurs during the snapshot generation? : sql server replication
you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration
What are the common performance issues in sql server?
How adventureworkslt tables are related?
How to list all field names in the result set using mssql_field_name()?
What is the use of SCOPE_IDENTITY() function?
Why use “in” clause in sql server?
What is subquery in sql?
what is package configuration variable?How to change file name in folder dynamically?Plz help me
what is the difference between delete table and truncate table commands? : Sql server database administration
Does sql server use t sql?