Oracle
star0701
从事软件研发工作
展开
-
oracle 列转行 多行数据转为一行
主key 有5个,【A B C D E 】select STN_CD,replace(wm_concat(E),',','、') from T_G1_SHITEN_ORDERwhereA= '000' andB = 'C01' andC = 1 andD= 'K02'group by A原创 2016-08-31 15:12:08 · 4501 阅读 · 0 评论 -
查询表空间使用情况
请使用具有sysdba权限的用户查询,或者执行下面的sql给用户查询权限grant select any dictionary to 用户名--查询表空间使用情况SELECT Upper(F.TABLESPACE_NAME) "表空间名", D.TOT_GROOTTE_MB "表空间大小(G)", D.TOT_GROOTTE_MB - F.TOTAL_B...原创 2019-06-26 16:47:45 · 1798 阅读 · 0 评论