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 |
What is the difference between writing data to mirrored drives versus raid5 drives
What is the primary use of the model database?
Does dbcc checkdb requires db to be in single_user mode? : sql server database administration
Difference between connected and disconnected database in .net with sql server?
What is the difference between Stored Procedure , Function and Package, 1. how many blocks in Package and what are they.
Explain the microsoft sql server delete command? : SQL Server Architecture
How to change the name of a database user?
What is the default server name for sql server?
How to declare a cursor with "declare ... Cursor" in ms sql server?
What are different types of statements that are supported by sql?
Do you know what is rank function?
How will you make an attribute not process? : sql server analysis services, ssas