Results 1 to 3 of 3

Thread: Create Table Query

  1. #1
    Join Date
    Jun 2003
    Posts
    24

    Create Table Query

    I am trying to figure out how to insert an autonumber field into a Create Table Query.

    Thanks!

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    create table mytable (ID1 AUTOINCREMENT,name text)

  3. #3
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Query1:
    create table xyz (name text);

    Query2:
    ALTER TABLE xyz ADD COLUMN recno AUTOINCREMENT;

Posting Permissions

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