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

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -