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 > MySQL > SELECT inside a trigger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-12, 05:48
Mahivelu Mahivelu is offline
Registered User
 
Join Date: Feb 2012
Posts: 1
SELECT inside a trigger

hi all,

Can anyone let me know how efficient is using SELECT statement inside the body of trigger?

Thanks is Advance.
Reply With Quote
  #2 (permalink)  
Old 02-13-12, 07:45
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
I am not sure what you are asking for here? A trigger is internal functionality inside a database which can be used to either marge data into different tables or perform simple or complex data integrity constraints.

If you are looking to have records returned then i would suggest you look at stored procedures or stored functions.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Tags
begin, inside, select, trigger

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