Insert into another table
I have a database that has these tables :
user {id, name, team_id}
badges {id, name}
user badges {id, badge_id, user_id}
There are currently 6 badges in the badges table .
What I want to happen is when a user is added , it automatically adds them to the user badges table and gives the all current badges.
Is this possible? Possibly with a trigger?
Subject
Written By
Posted
Insert into another table
July 08, 2015 03:28AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.