Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2002
    Posts
    4

    Unanswered: Identity column in EEE

    Is it possible to have a auto generated unique column in UDB EEE version?

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: Identity column in EEE

    NO for version 7 ...



    Originally posted by thirumal_valava
    Is it possible to have a auto generated unique column in UDB EEE version?

  3. #3
    Join Date
    Jul 2002
    Posts
    19

    you can in v7.1+

    I have given u a sample here hope this helps

    CREATE TABLE xyz (

    INDEX_NO_COL INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH +1 , INCREMENT BY +1 , NO CACHE ) ,
    ....
    ...
    ..
    the other alternative is to use the SEQUENCE object.
    Hope this helps
    Regards
    C.Gajendran

  4. #4
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: you can in v7.1+

    Gajendran, Please can you clarify from which fixpack of Version 7, EEE supports identity columns.

    Thanks ...

    Sathyaram

    Originally posted by cgajendran
    I have given u a sample here hope this helps

    CREATE TABLE xyz (

    INDEX_NO_COL INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH +1 , INCREMENT BY +1 , NO CACHE ) ,
    ....
    ...
    ..
    the other alternative is to use the SEQUENCE object.
    Hope this helps
    Regards
    C.Gajendran

  5. #5
    Join Date
    Jul 2002
    Posts
    19

    Re: you can in v7.1+

    sathyaram,
    I am using a Fixpack 5 here and it works
    regards
    C.Gajendran

Posting Permissions

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