SQL Query select 'create table ' || table_name || ' (' || column_name || ' ' || DATA_TYPE || '(' || case data_type when 'NUMBER' then data_precision when 'VARCHAR2' then CHAR_LENGTH when 'CHAR' then CHAR_LENGTH end || '),' txt,table_name,column_id,data_type from user_tab_columns where table_name in ( 'EMPLOYEE', 'EMPLOYEE_POSITION' ) and column_id=1 union select column_name || ' ' || DATA_TYPE || '(' || case data_type when 'NUMBER' then data_precision when 'VARCHAR2' then CHAR_LENGTH when 'CHAR' then CHAR_LENGTH end || '),' txt,table_name,column_id,data_type from user_tab_columns out1 where table_name in ( 'EMPLOYEE', 'EMPLOYEE_POSITION' ) and column_id>1 and column_id<( select max(column_id) from user_tab_columns where table_name=out1.table_name ) union select column_name || ' ' || DATA_TYPE || '(' || case dat...
AWS, Database, ETL, Integration, Data Reporting & Automation Expert