Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 1st, 2004, 02:29 AM
aparna.jain aparna.jain is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 78 aparna.jain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 14 m
Reputation Power: 5
Angry join in triggers

i need help in creating trigger where one can retrieve data from two or more tables and insert the data into a new table. can anyone plz suggest a solution for this?

Reply With Quote
  #2  
Old November 18th, 2004, 01:03 AM
J@oracle J@oracle is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 11 J@oracle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile

Quote:
Originally Posted by aparna.jain
i need help in creating trigger where one can retrieve data from two or more tables and insert the data into a new table. can anyone plz suggest a solution for this?


The query can be ....
insert into table3 (col1,col2)
select col1.table1 as col1,col1.table2 as col2 from table1,table2 where table1.common_field = table2.common_field


But at which level u want the trigger.If the above query is ur solution then its ok otherwise please elaborate abt ur requirement...

Jignesh

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > join in triggers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT