Skip to content

Instantly share code, notes, and snippets.

@pietrom
Created November 12, 2012 10:49
Show Gist options
  • Save pietrom/4058625 to your computer and use it in GitHub Desktop.
Save pietrom/4058625 to your computer and use it in GitHub Desktop.
How to select table columns metadata from Sybase system tables
select *
from sysobjects tab
inner join syscolumns col
on tab.id = col.id
where tab.type = 'U'
and tab.name = 'TABLE_NAME'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment