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 to enable tcp/ip protocol on a sql server?
Is it possible to delete duplicate rows in a table without using a temporary table ?
where do you use Isolations?give me some exmpale?
what is normalization? what is denormalization?
What is subquery? Explain the properties of a subquery?
you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration
What is a function? Give some example?
how to get max salary with employee number by using one select query and max function ??
Explain what are the basic functions for master, msdb, model, tempdb databases?
does physical index sort data
What is rolap and its advantage? : sql server analysis services, ssas
Tell me what do you mean by an execution plan? Why is it used? How would you view it?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)