標籤:oracleOracle Study之--查看Oracle 版本運算字長(32/64位)方法一、採用sqlplus查看64位:[[email protected] ~]$ sqlplus ‘/as sysdba‘SQL*Plus: Release 11.2.0.3.0 Production on Wed Jun 24 14:14:10 2015Copyright (c) 1982, 2011, Oracle. All rights
標籤:http://blog.itpub.net/27157/viewspace-425567/初始化相關參數job_queue_processesalter system set job_queue_processes=39 scope=spfile;//最大值不能超過1000 ;job_queue_interval = 10 //調度作業重新整理頻率秒為單位 job_queue_process 表示oracle能夠並發的job的數量,可以通過語句 show parameter
標籤:oracle 11gOracle study之--“ORA-00845: MEMORY_TARGET not supported on this system"錯誤系統內容: 作業系統:RedHat EL6(64) Oracle: Oracle 11g R2 故障案例:在Oracle 11gR2下調整記憶體參數:memory_targetSQL> show parameter
標籤:select * from emp; create synonym emp_ny for emp; create public synonym pub_emp_ny for employees;--建立公有同義字 DROP SYNONYM EMP_NY;--刪除同義字 DROP PUBLIC SYNONYM PUB_EMP_NY;--刪除公有同義字 查看已有同義字 SELECT * FROM SYS.ALL_SYNONYMS WHERE
標籤:Oracle grouping和rollup簡單測試SQL> select department_id,sum(salary) from employees where department_id in(10,30,90,100) group by department_id order by department_id;DEPARTMENT_ID SUM(SALARY)------------- ----------- 10 4400
標籤:LAG is an analytic function. It provides access to more than one row of a table at the same time without a self join. Given a series of rows returned from a query and a position of the cursor, LAG provides access to a row at a