Where I can get column type name from sybase iq SQL
select * from syscolumn
select distinct column_type from syscolumn --- value is only R
Where can I get like int, varchar, etc..?
select * from systypes
How to relate with syscolumns?
Where I can get column type name from sybase iq SQL
select * from syscolumn
select distinct column_type from syscolumn --- value is only R
Where can I get like int, varchar, etc..?
select * from systypes
How to relate with syscolumns?
Since MS SQL Server share a lot of design features with Sybase and this works with MS SQL Server it should work with Sybase ASE too (although I haven't tried it due to lack of Sybase server):
select c.name as column_name, t.name as type_name
from syscolumns c
join systypes t on c.type = t.type
Looking at the Sybase Adaptive Server Enterprise 15.7 documentation for syscolumns and systypes this seems correct.