随笔分类 -  Oracle

摘要:select table_name from user_tables; 阅读全文
posted @ 2022-12-23 16:06 小严不言慢 阅读(18) 评论(0) 推荐(0) 编辑
摘要:1、创建 create or replace procedure A_YANDANCHAN is -- 名称A_YANDANCHAN可以改掉 v_sql VARCHAR2(4000); v_tb_column VARCHAR2(4000); v_cnt NUMBER(18,0); v_key VAR 阅读全文
posted @ 2022-12-23 15:59 小严不言慢 阅读(712) 评论(0) 推荐(0) 编辑
摘要:select listagg(COLUMN_NAME,',')within group(order by COLUMN_NAME)name from all_tab_columns where table_name = '表名'; 阅读全文
posted @ 2022-12-23 12:35 小严不言慢 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示