Answer Posted / ramesh
stored procedure:
Group of sql statements compiled into single execution plan.
create procedure sp_procedurename
as
begin
begin transaction
select * from table
if @@error=null
commit
else
rollback
end
Trigger
--------
Trigger is a set of sql queries which fire when an event
occurs(delete,update,insert).
in 2005 DDL TRIGGER INTRUDUCED.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
what are candidate key, alternate key and composite key? : Sql server database administration
Do you know what are acid properties of transaction?
Can primary key be null?
What are dml (data manipulation language) statements in ms sql server?
Do you have any idea about the tcl commands?
What are distributed partitioned views?
How to query multiple tables jointly?
Is sql server a database?
What is the architecture of ms sql reporting service?
What stored by the msdb? : sql server database administration
Name three of the features managed by the surface area configuration tool? : sql server security
Is sql server is free?
State a few properties of relational databases?
Find columns used in stored procedure?