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 > Informix > triggers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-10-10, 05:49
tomjones1980 tomjones1980 is offline
Registered User
 
Join Date: Apr 2010
Posts: 3
triggers

i have a table for logins,and i want to be prompted immediately there is an entry into the table, that is when someone logs in.

i guess that has to do with triggers,please help me with information on how to do this and what triggers are all about.
Reply With Quote
  #2 (permalink)  
Old 05-12-10, 18:40
bigcalm bigcalm is offline
Registered User
 
Join Date: Jul 2009
Posts: 37
I, personally, don't like the idea of triggers, largely because they become undocumented, difficult to find and debug, and can cause large problems!!

However, if you have to use them, look for stored procedure language (eg Informix Guide to SQL: Tutorial ). Triggers are basically stored procedures that are then tied to updating tables or columns in tables.
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