I would like to display the TYPE field in a table definition onto a report.
How exactly can I query on this field?
Currently, I am selecting the field from the dba_columns table, concatinating the data_type field with the data_length field with a '(' ')' around the data_length field to get this result 'VARCHAR2(6)', which is exactly what I need, but looking for an alternative way of doing this. I thought there would be an easier way to pull this information.
Is there an easier way?
thnx in advance
How exactly can I query on this field?
Currently, I am selecting the field from the dba_columns table, concatinating the data_type field with the data_length field with a '(' ')' around the data_length field to get this result 'VARCHAR2(6)', which is exactly what I need, but looking for an alternative way of doing this. I thought there would be an easier way to pull this information.
Is there an easier way?
thnx in advance
Code:
Name Null? Type
------------------------------- -------- ----
Name VARCHAR2(6)
LAST_NAME VARCHAR2(1)
ADDR VARCHAR2(72)
[\code]