Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DROP TABLE test_it;
CREATE TABLE test_it (fld1 DATE NOT NULL, fld2 VARCHAR2(5), fld3 NUMBER(10), fld4 number(8,2));
COMMENT ON COLUMN test_it.fld1 is 'Date Added';
COMMENT ON COLUMN test_it.fld2 is 'Description';
SELECT --tab.owner,
--tab.table_name,
col.column_name "COLUMN",
col.data_type "TYPE",
DECODE(col.nullable,'N','NOT NULL','') not_null,
DECODE(col.data_type,'NUMBER',col.data_precision ||','||col.data_scale,'') specs,
col.data_length "LENGTH",
(SELECT cmt.comments
FROM sys.all_col_comments cmt
WHERE cmt.owner = col.owner
AND cmt.table_name = col.table_name
AND cmt.column_name = col.column_name) comments
FROM sys.all_tables tab,
sys.all_tab_columns col
WHERE tab.owner = col.owner
AND tab.table_name = col.table_name
AND tab.table_name = 'TEST_IT'
AND tab.owner = 'ADMBQC'
ORDER BY tab.table_name, col.column_id;
[b]COLUMN TYPE REQ SPECS LENGTH COMMENTS[/b]
FLD1 DATE NOT NULL 7 Date Added
FLD2 VARCHAR2 5 Description
FLD3 NUMBER 10,0 22
FLD4 NUMBER 8,2 22