摘要:
记录一下 SELECT UPPER(F.TABLESPACE_NAME) "表空间名", D.TOT_GROOTTE_MB "表空间大小(M)", D.TOT_GROOTTE_MB - F.TOTAL_BYTES "已使用空间(M)", TO_CHAR(ROUND((D.TOT_GROOTTE_MB 阅读全文
摘要:
原始数据: 方式一: select t_name, sum(decode(t_item, 'item1', t_num, 0)) item1, sum(decode(t_item, 'item2', t_num, 0)) item2, sum(decode(t_item, 'item3', t_nu 阅读全文
摘要:
导出数据 SQL> conn / as sysdba Connected. SQL> create directory lxw_dir as '/home/oracle'; Directory created. SQL> grant write,read on directory lxw_dir t 阅读全文
摘要:
alter system set open_links=0 sid ='*' scope=spfile; System altered. alter system set open_links_per_instance=0 sid ='*' scope=spfile; System altered. 阅读全文
摘要:
PROCEDURE proc_test(p_id IN NUMBER, v_cur OUT SYS_REFCURSOR, p_result_code OUT NUMBER, p_result_message OUT VARCHAR2) AS p_flag NUMBER; p_row frm_tabl 阅读全文
摘要:
方法一: 在系统环境变量中的path变量中添加一条路径: 32位环境 C:\Windows\Microsoft.NET\Framework\v4.0.30319 64位环境 C:\Windows\Microsoft.NET\Framework64\v4.0.30319 方法二: Visual Stu 阅读全文
摘要:
MongoDB语法 MySql语法 db.test.find({'name':'foobar'}) <==> select * from test where name='foobar' db.test.find() <==> select *from test db.test.find({'ID' 阅读全文
摘要:
//中文转unicode编码 public static String gbEncoding(final String gbString) { char[] utfBytes = gbString.toCharArray(); String unicodeBytes = ""; for (int i 阅读全文