• select  * from syscolumns where autoval is not null

    will list the columns, but you need to know what you are doing if you want to add tablenames, etc