Link to home
Start Free TrialLog in
Avatar of Nana Hemaa
Nana HemaaFlag for United States of America

asked on

SQL Import /Export with keys

I am using the import /Export to export selected tables from a database.   I am looking for  a way to import primary keys and all other constraints on the table.  I tried the generate script options but the tables  have millions of records so the scripting is not working very well.

Any inputs appreciated
Avatar of HainKurt
HainKurt
Flag of Canada image

I am looking for  a way to import primary keys and all other constraints on the table.

what does that mean?

do you want data or just script? if just script why are you using import/export?
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland 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
Hi,
Do you mean you want to copy the full schema, right? You can just export the whole schema.