Hey All
I have table Employee which has coluumns (id, name, address, ssn, DOB, date of join,level etc )employee records. Everytime there is new employee in company, there is new entry in Employee table.
I have another table User which has three columns (id, user, password) which consists name of all current employee in user column and ther password is name+123.
I want to write a trigger which automatically should update the User table with name, name +123 of new user when new employee is added to Employee table.
Do help,
Thanks
I have table Employee which has coluumns (id, name, address, ssn, DOB, date of join,level etc )employee records. Everytime there is new employee in company, there is new entry in Employee table.
I have another table User which has three columns (id, user, password) which consists name of all current employee in user column and ther password is name+123.
I want to write a trigger which automatically should update the User table with name, name +123 of new user when new employee is added to Employee table.
Do help,
Thanks
Comment