Created
November 12, 2012 10:49
-
-
Save pietrom/4058625 to your computer and use it in GitHub Desktop.
How to select table columns metadata from Sybase system tables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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