2025-03-11 20:16:05 +00:00
|
|
|
select '@Column({ name: '''||column_name||''' })'||CHR(13)||
|
|
|
|
|
LOWER(column_name)||': '||
|
|
|
|
|
case when user_tab_columns.data_type = 'NUMBER' then 'number;'
|
|
|
|
|
when user_tab_columns.data_type = 'DATE' then 'Date;'
|
|
|
|
|
else 'string;' END ||CHR(13)
|
|
|
|
|
FROM USER_TAB_COLUMNS
|
|
|
|
|
WHERE TABLE_NAME = 'PCPEDITEMP'
|
|
|
|
|
order by user_tab_columns.column_id;
|