Home Answers Viewqa SQL Stored Procedure and Trigger

 
 


samar
Stored Procedure and Trigger
1 Answer(s)      2 years and 7 months ago
Posted in : SQL

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









Related Pages:
Stored Procedure and Trigger
Stored Procedure and Trigger  hello, What is the difference between Stored Procedure and Trigger ?   hii, Triggers once defined are called automatically, there can be no explicit invocation Stored procedure has
stored procedure
stored procedure  what is stored procedure
What is Trigger?
and DELETE. The difference between a trigger and a stored procedure is that a trigger is activated or called when an event happens in a database table, a stored... is a special kind of stored procedure that automatically executes when an event occurs
What is Stored Procedure?
What is Stored Procedure?  What is Stored Procedure?   Hi, Here is the answer, A stored procedure is a named group of SQL statements that have been previously created and stored in the server database. Stored
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
receive a ResultSet from a stored procedure
receive a ResultSet from a stored procedure  How do I receive a ResultSet from a stored procedure
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
Processing stored procedure in MySQL - SQL
Processing stored procedure in MySQL  Dear All java with mysql developer..... i need to convert my SQL procedure to MySQL database... here is my Stored procedure in SQL.... create or replace procedure INVNAMES (bno
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
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
Insert Data in Table Using Stored Procedure
into a table using stored procedure. Steps: 1.Create database: To create...;); 7.Step to call procedure: We are using CallableStatement to execute a stored...;} } The code of the stored procedure is given below
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
Stored procedures
;hello, A stored procedure is a set of statements or commands which reside in the database. The stored procedure is precompiled. Each Database has it's own stored procedure language,   Hi, Learn how to create Stored Procedure
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
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
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
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
trigger
trigger  write a trigger to see every manager must be highest salary
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
Stored Procedures and Functions
in version MySQL 5.0. Stored Procedure is a set of statements, which allow ease and flexibility for a programmer because stored procedure is easy to execute than reissuing the number of individual SQL statements. Stored procedure can call another
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     
iBatis Stored Procedure Example
iBatis Stored Procedure Example   ... have created a stored procedure in "vin" database named as showData... stored procedure. <procedure id="storedInfo" resultClass="Contact">
procedure
procedure   step by step procedure to build servlet or jsp in eclipse
procedure
procedure  write a procedure to update salary to 20% based on employee number
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
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
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 Alter Procedure
stored procedure that was created using the CREATE PROCEDURE statement... Mysql Alter Procedure        A Procedure is a set of  one or more sql statements
Mysql Alter Procedure
defined stored procedure that was created using the CREATE PROCEDURE statement... Mysql Alter Procedure       A Procedure is a set of  one or more sql statements
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     
What is Trigger?
What is Trigger?  What is Trigger
Error in MySQL Procedure Using JAVA Code
Error in MySQL Procedure Using JAVA Code  The following Java code (using Connector/J to create a stored procedure on MySQL 5.0) does not execute...("DELIMITER //\nCREATE PROCEDURE abdt (std INT)\nBEGIN\nSELECT attbegin, attend FROM
SQL IN Parameters
stored procedure is executed. Understand with Example... an example, which create a procedure 'abc' and accept input parameter. The input parameter allows the invoker to pass the data into the procedure
SHOWING ERROR CODE 1064 WHILE TRYING TO EXECUTE PROCEDURE
TRYING A SP BUT IT IS NOT SAVING AND WORKING.DOES THE STORED PROCEDURE WORK PARTLY? BELOW IS MY QUERY DELIMITER$$ DROP PROCEDURE IF EXISTS `test_query`.`updt_cls...; END$$ DELIMITER; ALL THESE QUERIES OUTSIDE THE STORED PROCEDURE'S BODY
What is procedure
What is procedure  What is procedure in computers? What are the primary categories of procedures
stored procedures
stored procedures  What are stored procedures
stored procedures
stored procedures  What are stored procedures
throw exception in mysql trigger
throw exception in mysql trigger  throw exception in mysql trigger
Getting message from the server using RPC( Remote Procedure Call )
Getting message from the server using RPC( Remote Procedure Call... describes the procedure of retrieving message from the server via RPC. The steps..., the name of the package where the files that will be generated will be stored
SQL Out Parameter
; SQL Out Parameter allows the stored procedure to the pass data value ... the stored procedure to pass the value and pass back to the invoker. Create... from SQL Out Parameter .In this Example we create a procedure 'abc
using trigger - SQL
using trigger  sir i want to use this trigger in ado.net. how it is possible ? Create trigger tr1 on student after update as begin update m...-update-trigger.shtml http://www.roseindia.net/sql/trigger/mysql-trigger-after
trigger after insert for deletion
trigger after insert for deletion   String query2 = "create TRIGGER trig after insert on "cart" + " FOR EACH ROW... = st1.executeUpdate( query2); i have to do the above trigger operation, but i'm stuck
Create Delete Trigger in SQL
Create Delete Trigger in SQL       Create Delete Trigger in SQL fire this trigger before... The Tutorial illustrate an example from 'Create Delete Trigger in SQL
Quartz Trigger - XML
Quartz Trigger  how to write a quatz trigger to fire mails at every 59th minute of every hour.......is it like this (0 59 * * * ?)  Hi friend, Quartz Job scheduler is so flexible that it can be used with your
Create Delete Trigger in SQL
Create Delete Trigger in SQL       Create Delete Trigger in SQL fire this trigger before... The Tutorial illustrate an example from 'Create Delete Trigger in SQL

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.