Tell me about Triggers?
Answers were Sorted based on User's Feedback
Answer / pradeep
Triggers in DB are analogus to the triggers in hand
grenades.
It are reffered a stored procedure call that initiates its
action on any event occures such as insert, update or
delete query.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / shalini
trigger is a block of code that constitutes a set of T-sql
statements activated to response in certain action.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / praveen ch
trigger is nothing but a logic, this logic like a stored
procedure and which is uesd to represented as before
updation of table or after updation of the table
thank u
| Is This Answer Correct ? | 0 Yes | 0 No |
why we use cursor?
4 Answers CarrizalSoft Technologies, Melstar, TCS,
Hello all, I have data like :- year amt 2004 10 2005 20 2006 30 Now i want output as:- 2004 2005 2006 10 30 60 but i have to use here group by on year.So, i need a single query within that i can find.
What is used to replicate sessions between instances in coldfusion clusters?
sql server has its default date format in da form "yy-mm-dd" its possible to convert da current date format of sql server to desired format. Now my question is dat how to get da previous and comin days date in my desired format??
What do you understand by physical_only option in dbcc checkdb?
Advantages and Disadvantages of Cursor?
15 Answers Polytechnic, TCS, Zenith,
How can a user-defined datatype be created?
what is memory-optimized nonclustered indexes
hi to all teachers,... Friends who write in the query mode Full text Search in Sql Server have experience Who make(Convert) this Stored Procedure as a normal Full text Search, which contains and .. Is used, into Advance of the tips I have thanked all friends perfection. Email : rezaafandi@yahoo.com Create PROCEDURE Sp_student @fname varchar(50), @lname varchar(50), @tel varchar(50), @code varchar(50), @adr varchar(50), @search_operation varchar(50), @totalRowCount bigint output AS begin if @search_operation = 'and' begin SELECT f3,f4,f5,f6,f7 FROM tb_student WHERE( f5 like '%' + @fname + '%' and f4 like '%' + @lname + '%' and f6 like '%' + @tel + '%' and f7 like '%' + @code + '%' and f3 like '%' + @adr +'%' ) select @totalRowCount = @@rowcount end
How will you find out if there are expensive SQL statements running or not?
What happens if time-only values are provided as date and time literals?
how to get the maximum among two tables,for example table 1 (dep1) have (emp_id,emp_name,salary) columns and table 2 (dept2) have (emp_id,emp_name,salary) columns,i want which employee have the maximum salary among two tables?
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)