Results 1 to 2 of 2

Thread: Alter Column

  1. #1
    Join Date
    Oct 2002

    Unanswered: Alter Column

    I have a database (Access 2000) with a field called ID which is an Integer.
    Do you know how can I change it to be a primary key, autonumeric and not null ?

    I'm not sure about the ALTER TABLE syntax

    Thanks ain Advance

  2. #2
    Join Date
    Oct 2002
    Northampton, England
    The simple solution would be to create another field in the database, for example fldID and make it autonumber and the primary key. When you nest open the table, each record will have its own autonumber. You can then delete the ID field and then rename fldID to ID

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts