Results 1 to 3 of 3

Thread: PPC Question

  1. #1
    Join Date
    Jan 2007
    Posts
    7

    Unanswered: PPC Question

    In the PPC, I am creating some new tables. How can I create a primary key that auto increments? I am using v10.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2007
    Posts
    7

    Red face

    Nevermind, I found the IDENTITY data type. Doesn't Pervasive have an AUTO_INCREMENT command when creating/altering a table?

  3. #3
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    No. Pervasive doesn't have the AUTO_INCREMENT command. You need to use the IDENTITY field type.
    Mirtheil Software
    Certified Pervasive Developer
    Certified Pervasive Technician
    Custom Btrieve/VB development
    http://www.mirtheil.com
    I do not answer questions by email. Please post on the forum.

Posting Permissions

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