Get all IDENTITY columns in Sybase IQ -


i want list of identity columns. know in system table information can found?

btw: use sybase iq 16

figured out this:

create table test (   c1 int identity not null   ,c2 int )  select * sys.syscolumns tname = 'test' 

so answer is:

select   tname, cname sys.syscolumns default_value = 'autoincrement' 

Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -