Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing from Access

Status
Not open for further replies.

Blorf

Programmer
Dec 30, 2003
1,608
US
Hi. Have an access database that has grown beyond all plans, and want to migrate the data to sql, and keep access as a front end.

All is well, but when I import my tables, it does not keep the indexes or primary keys. The fields come, and the data comes, but the keys are dropped.

Why? How to fix?

I can modify the tables after import, and will begin doing so after lunch, but wondered if there is an easier way.

Using sql 7.

Thanks,
ChaZ
 
it wont import the indexes but if the primary key is a physical field in the access table then that should be brought through.

what do you mean by
but the keys are dropped

[bandito] [blue]DBomrrsm[/blue] [bandito]
 
The primary key, say a field calld PartID, comes through as a field, but not as the primary key.

Ok, so I do have to modify the tables after import I am gathering.

What about relationships? Same thing I am guessing.

Thanks,
ChaZ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top