Hello,
I have source table called Customer and child table called Orders. I need to copy all Customer records to a destination database, which Customer table already exists. My problem is copying all the records of the Orders table, which foreign key is CustomerID from Customer table's source database.
How can I write my a SQL statement so that Orders records copied to destination contain CustomerID from Customer table in the destination database?
Thanks in advance..
RO
I have source table called Customer and child table called Orders. I need to copy all Customer records to a destination database, which Customer table already exists. My problem is copying all the records of the Orders table, which foreign key is CustomerID from Customer table's source database.
How can I write my a SQL statement so that Orders records copied to destination contain CustomerID from Customer table in the destination database?
Thanks in advance..
RO