Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa SQL Stored Procedure and Trigger

Have Programming Question? Ask it here!
 
 
 


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


hello,

What is the difference between Stored Procedure and Trigger ?


Advertisement
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 Tutorials/Questions & Answers:
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
Advertisements
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
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
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
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... 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
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
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
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
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
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
procedure
procedure   step by step procedure to build servlet or jsp in eclipse
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
Trigger
Trigger       Mysql Trigger After Delete The Tutorial illustrate an example from 'Trigger After Delete' in Mysql. To understand
What is Trigger?
What is Trigger?  What is Trigger
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
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
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">
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
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
stored procedures
stored procedures  What are stored procedures
stored procedures
stored procedures  What are stored procedures
What is procedure
What is procedure  What is procedure in computers? What are the primary categories of procedures
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
throw exception in mysql trigger
throw exception in mysql trigger  throw exception in mysql 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
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 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     
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
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
a trigger to call .bat file oracle
a trigger to call .bat file oracle   hey,pls help mei want to know that can we call java/.bat file from plsql/proceudre /trigger   ... java/.bat file from plsql/proceudre /trigger mdakbark@gmail.com
MySQL After Trigger
MySQL After Trigger This example illustrates how to create the trigger...' and 'description'. A trigger is defined to activate when an INSERT, DELETE, or UPDATE statement executes for the associated table. A trigger can be set to activate either
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
How to convert Mssql Procedure into Mysql Procedure.
How to convert Mssql Procedure into Mysql Procedure.  Hello Sir, I have a mssql procedure and i need it to be converted to mysql ... Below is my mssql procedure code.. WITH CTE AS ( SELECT ROW
How to convert Mssql Procedure into Mysql Procedure.
How to convert Mssql Procedure into Mysql Procedure.  Hello Sir, I have a mssql procedure and i need it to be converted to mysql ... Below is my mssql procedure code.. WITH CTE AS ( SELECT ROW
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
 

 

 

DMCA.com