Results 1 to 2 of 2

Thread: Auto Increment?

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    Unanswered: Auto Increment?

    Does Sybase contain the following mysql feature where you are allowed to specify AUTO_INCREMENT on a secondary column.

    MySQL :: MySQL 5.1 Reference Manual :: 3.6.9 Using AUTO_INCREMENT

    Code:
    +--------+----+---------+
    | grp    | id | name    |
    +--------+----+---------+
    | fish   |  1 | lax     |
    | mammal |  1 | dog     |
    | mammal |  2 | cat     |
    | mammal |  3 | whale   |
    | bird   |  1 | penguin |
    | bird   |  2 | ostrich |
    +--------+----+---------+

  2. #2
    Join Date
    Jan 2012
    Location
    Lisbon
    Posts
    115
    Provided Answers: 1
    Hello,
    Sybase has a identity column.

    Using IDENTITY columns in Sybase

Posting Permissions

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