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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Primary Key

Status
Not open for further replies.

literacyteacher

Instructor
Joined
Feb 28, 2009
Messages
2
Location
US
I have a Book Collection Database with three tables:

Book Collection
Book Reviews
Leveled

The Primary Key is letters (A1, A2, etc). I would like to change it to an autonumber. I about 50 records in the tables. Is there an easy way to update the primary key to an autonumber to all the tables; so doesn't ruin the information? Thanks

SD
 
Add new autonumber field to books table[bookid]
add to rewiew table field [bookid]


join books to review on old primary key

update review.bookid=books.bookid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top