Stored Procedure and Trigger

Ads
 

Stored Procedure and Trigger

hello,

What is the difference between Stored Procedure and Trigger ?

View Answers

October 28, 2010 at 4:23 PM

hii,

Triggers once defined are called automatically, there can be no explicit invocation

Stored procedure has to be called explicitly, moreover procedures can return values, triggers can't

Ads









Related Tutorials/Questions & Answers:
stored procedure
stored procedure  what is stored procedure
stored procedure
stored procedure  on storing values to database using stored procedure it throws an error lyk ADODB.Command error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another
Advertisements
update date from stored procedure
update date from stored procedure  how to works on insert,update data from stored procedure.   Insert data using stored procedure
JPA 2.1 Stored Procedure Example
JPA 2.1 Stored Procedure Example - Lear how to call stored procedures from JPA program In this tutorial you will learn how to create Stored Procedure in MySQL database and then call the stored procedure in your JPA 2.1 based
Create After Insert Trigger in SQL
Create After Insert Trigger in SQL       Create a Trigger is a special kind of stored procedure, that fires when we perform modification on the specific data
creating and executing stored procedure using hibernate
creating and executing stored procedure using hibernate  I have to execute following query using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION
Write a C/C++ program to show the result of a stored procedure
Write a C/C++ program to show the result of a stored procedure   how to write this?? Write a C/C++ program to show the result of a stored procedure "PROCRESETMAIL" on database "USER_NOTIFY
supplying values to in parameters of stored procedure in ms sql and displaying out parameters
supplying values to in parameters of stored procedure in ms sql and displaying out parameters  I have to execute following procedure ALTER PROCEDURE [dbo].[get_date] @codeId int, @vardate as datetime OUTPUT AS SELECT
Records are not inserting in to main table while running the mysql stored procedure.
Records are not inserting in to main table while running the mysql stored procedure.  Hi, Im migrating procedures from oracle to MySql.In that procedure records are not inserted into main table from temp table.But im getting msg
callable statement,stored procedure for insert data and also for update data into oracle database using jsp
callable statement,stored procedure for insert data and also for update data... have one task to do soft parsing tl asked to do callable statement,stored procedure for inserting data into oracle database as bind variable and same
Fastest way to upload huge raw data in database - c#, Java or stored procedure
Fastest way to upload huge raw data in database - c#, Java or stored.... This procedure repeats every 15days. I need to know which method would be fastest to upload this data - Stored procedures, Java or c#. Why? What are the advantages
trigger
trigger  write a trigger to see every manager must be highest salary
procedure
procedure   step by step procedure to build servlet or jsp in eclipse
trigger
trigger  write a trigger program before insert into salary that it must not below Rs 1000
trigger
trigger  write a trigger program before insert into salary that it must not below Rs 1000
passing xml created using DocumentBuilderFactory as input to oracle stored procedure using java JDBC
and it is to be send using JDBC. Stored procedure in oracle database will contains two... passing xml created using DocumentBuilderFactory as input to oracle stored procedure using java JDBC  I want to send the xml as input parameter
procedure
procedure  write a procedure to update salary to 20% based on employee number
Call Procedure
unit and  task. Stored Procedure can be compiled and executed... '. Here is the video tutorial of: "How to create MySQL stored procedure... Call Procedure      
Trigger
Trigger       Mysql Trigger After Delete The Tutorial illustrate an example from 'Trigger After Delete' in Mysql. To understand
Create After Insert Trigger in SQL
Create After Insert Trigger in SQL       Create a Trigger is a special kind of stored procedure... from 'Create After Insert Trigger in SQL'. In this Example, we create
What is procedure
What is procedure  What is procedure in computers? What are the primary categories of procedures
Create a Simple Procedure
to create a procedure Abc( ).The SQL stored procedure bodies contain... stored procedure returns you the records from 'Stu_Table... Create a Simple Procedure     
Call Procedure
Call Procedure        Procedure is a set of SQL statement that perform a logical unit and  task. Stored Procedure can be compiled and executed
Mysql Time Trigger
Mysql Time Trigger       Mysql Time Trigger is fired when a specified event is occurred. The trigger event can be before trigger, after trigger  and instead of trigger
Mysql Time Trigger
Mysql Time Trigger       Mysql Time Trigger is fired when a specified event is occurred. The trigger event can be before trigger, after trigger  and instead of trigger
trigger
Writing a trigger for an userdefined datatype
Writing a trigger for an userdefined datatype  i have a user defined datatype in EMP table like COLUMNNAME:ADDRS_TYPE where ADDRS_TYPE have... have one more table where all the above fields need to be stored
ModuleNotFoundError: No module named 'trigger'
ModuleNotFoundError: No module named 'trigger'  Hi, My Python... 'trigger' How to remove the ModuleNotFoundError: No module named 'trigger... to install padas library. You can install trigger python with following command
throw exception in mysql trigger
throw exception in mysql trigger  throw exception in mysql trigger
Version of com.bartoszlipinski>trigger dependency
List of Version of com.bartoszlipinski>trigger dependency
Mysql Declare Procedure
at the beginning of the stored procedure, followed by the first Begin Statement.The Default... Mysql Declare Procedure        Mysql Declare Procedure is used to define a local variable within

Ads