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
Post a Comment