Subject | Re: Merge records |
---|---|
Author | Adam |
Post date | 2007-06-18T12:10:38Z |
>UPDATE EMPLOYEES SET DEPARTMENT = 'B' WHERE DEPARTMENT = 'A';
> I have 2 tables:
>
> DEPARTMENTS(Code, Name)
> EMPLOYEES(Code, Name, Address, DEPARTMENT (foreign key))
>
> I want to merge 2 departments(from A into B) and udpate all foreign
> keys tables. How I do?
Adam