I would like to know the column number in a SQL data table in IBM netezza.
I do not find it in the following sql query:
select *
from _v_obj_relation_xdb
join _v_sys_object_dslice_info on (objid = tblid)
where objname like 'my_table'
Any help would be appreciated.
thanks !
You can get that information by joining the _v_table and _v_relation_column views.