Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    21

    Question Unanswered: .:: MS-SQL, JTurbo and autoincrement columns??? ::.

    Hi all!
    Does anyone knows how to get if a column is autoincrement or not, using the DatabaseMetaData in java, or using de JTurbo driver for it?
    Is there any other way to figure this out?


    Thank you very much in advance for any replies.

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    select columnproperty(object_id('table_name'), 'column_name', 'isidentity')

Posting Permissions

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