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 |
Explain few of the new features of sql server 2008 management studio
What is the basic functions for master, msdb, tempdb databases?
Explain database normalization?
How can we rewrite sub-queries into simple select statements or with joins?
What is inline variable assignment?
Tell me what is a linked server?
What is database replicaion? What are the different types of replication you can set up in SQL Server?
Explain the microsoft sql server delete command? : SQL Server Architecture
How will you find out if there are expensive SQL statements running or not?
What is difference between rownum and rowid?
difference between truncate, delete aur drop?
please bar with my english i having a database called tblhallreservation in which res_date is date field has to select all the fields in table deponding on month either has to display all details for the month jan or feb and so on
Oracle (3259)
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)