Link to home
Start Free TrialLog in
Avatar of ginolaitano
ginolaitano

asked on

SQL Trigger for Insert

Experts,

I have two tables. Table USERS with PK userid and the other is USERPROFILE with PK profileid Among other fields.
I need one trigger for when inserting new users to USERS table the trigger creates one record on USERPROFILE table with the value of userdId from users....

Yes, simple but ! Sorry to bother. I need help cake doe!!
ASKER CERTIFIED SOLUTION
Avatar of jorge_toriz
jorge_toriz
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ginolaitano
ginolaitano

ASKER

Thank You very much. Works like a charm!
PS: Tks for being so fast!
Tks
I thing ginolatinao fails to select the way he accept the solution, its so clear that the solution I provided is correct and he accepted it.