Results 1 to 1 of 1
Thread: SQL Trigger
- 02-19-2012, 11:57 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 27
- Rep Power
- 0
SQL Trigger
Hi,
I want to create an trigger in SQL
I have the but of creating a trigger
what i want to is when a insert happen on this table i want to find the attribute id of the tuple just added as use it to insert a tuble in another tableJava Code:create trigger stockinsert after insert on Test_items end
so i understand i would be something like
insert into (tables name) (id attrubite i dont know how to get) then (value1, value2, value3)
Any help would be very appricated thank you.
Similar Threads
-
manually trigger tooltips
By stringargs in forum AWT / SwingReplies: 1Last Post: 05-04-2011, 08:51 PM -
Trigger Button in Html
By liron in forum Advanced JavaReplies: 0Last Post: 10-16-2010, 03:09 PM -
Trigger an Event
By koxy in forum Advanced JavaReplies: 1Last Post: 03-24-2010, 07:45 AM -
Mutating trigger help
By xcallmejudasx in forum JDBCReplies: 4Last Post: 04-24-2009, 10:49 PM -
Timer which should never end and should trigger daily
By garinapavan in forum New To JavaReplies: 0Last Post: 08-10-2007, 05:23 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks