If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Store Procedure, Trigger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-04, 10:33
ultraman76 ultraman76 is offline
Registered User
 
Join Date: Nov 2003
Posts: 3
Question Store Procedure, Trigger

Hi All,

I'm new in programming... may I know what's the benefit of using Store Procedure compare to using traditional coding in the application and what's the trigger for??

Thanks.

Last edited by ultraman76; 10-22-04 at 10:38.
Reply With Quote
  #2 (permalink)  
Old 10-25-04, 05:27
brbogdan brbogdan is offline
Registered User
 
Join Date: Nov 2003
Location: Lomza, POLAND
Posts: 81
Both stored procedure and trigger are executed on the same machine where the database is located. The main advantage is that the data needed for a stored procedure (or trigger) is not sent through the network. In this way you can increase the performance.
Triggers are thought to keep data integrity.
Best regards
Bogdan Brzozowski
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On