Link to home
Start Free TrialLog in
Avatar of vinny45
vinny45

asked on

Best way to move parent child data from one db to another

What is the best way to move parent child(multiple) data to from one db to another using code C# or t-SQL in one transaction (if this is a good idea)
 
Avatar of SjoerdVerweij
SjoerdVerweij

Are there foreign keys and/or primary keys defined on the tables? Do they autonumber (IDENTITY)?
In other words, could you script out the tables with Enterprise Manager and post them here?
Avatar of vinny45

ASKER

yes they do autonumber, iam not sure what the table looks like yet, but its pretty much standard stuff with primary and foriegn keys
ASKER CERTIFIED SOLUTION
Avatar of SjoerdVerweij
SjoerdVerweij

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