The general process of using oracle 11g r2 LogMiner! Use the oracle log analysis tool LogMiner. set the date format to alter system set nls_date_format = 'yyyy-mm-dd hh24: mi: ss' scope = spfile; select to_char (sysdate, 'yyyy-mm-dd hh24: mi: ss ') from dual; 2. add supplemental logs if the DATABASE needs to use logminer, it should be added. Only after this LOG i
is the select t.bis_project_id from Bis_project t;--Define cursor variablesCur_pidscur_proids%rowtype;V_MONTHVARCHAR2 (2);V_YEARVARCHAR2 (4);Begin/**forjack.liu on 20150331*/Select To_char (sysdate, ' yyyy ') into V_yearfrom dual;Select Case Whensubstr (To_char (sysdate, ' mm '), "0" then substr (To_char (sysdate, ' mm '), 2,1) Else To_char (Sysdate, ' MM ') end into v_month from dual;--Start traversalFor Cur_pids in Cur_proids loopInsertinto zzz_tes
= To_date (null), job_class = ' dbms_job$ ', enabled = True, auto_drop = False, comments = ");End/5, in the Plsql inside the Sql,job interface display demo sample such as the following 1.png:----------------------------------------------------------------------------------------------------------- -----Original Blog Address:http://blog.itpub.net/26230597/viewspace-1479382/Hara Douglas Fir (MCHDBA)--------------------------------
Check the server/client encoding and modify the database encoding at oracle 11g. If the server and client encoding are inconsistent, asp.net may display garbled characters when reading the database record. view the oracle server encoding: select * from sys. nls_database_parameters; check the client code: select * from sys. nls_session_parameters; www.2cto.com if
Oh, spent one hours, around the 11g installation toss good. It took a long time to toss the SQL Developer, and finally it was done. OK, first summarize the installation steps, hope to the rear of the children's shoes to improve the installation efficiency. Oh.
First, Oracle download
Note that Oracle is divided into two files, after downloading, two files are ex
Tags: style color io strong for AR CTI LinuxUnder Oracle 10g, the dependency is judged to be at the object level, which means that once the object accessed by the stored procedure has changed, Oracle will place the stored procedure in the invalid state. So after the DDL operation for the table, the stored procedure needs to be recompiled. in Oracle
used and that the different invocations of the statement use the same execution plan. A bound peek is no longer useful for generating a valid execution plan if different invocations of the statement derive significant benefits from different execution plans.
A schedule does not always apply to all bound values, and in order to resolve this problem as much as possible, Oracle Database 11g introduces adapti
Oracle 11g Flashback Data Archive (flash back Data archiving) UNDO tablespace record rollback information although it can provide flash back query, but for a long time, this information will be overwritten. In fact, as long as the transaction is committed, it will become a writable object. Therefore, when performing a transient query, we will receive the 1555 error because we cannot find the undo block, and
enter the password.14. Unlock the Scott account, remove the green tick from the front, and enter the password. You can also enter a short password that you normally use, and you don't have to add numbers to the 8-bit size that Oracle recommends. Oh.15. Similarly, passwords that do not conform to the rules are prompted. Don't worry about it, continue Y.16. The installation is successful and complete. It's simple, hehe.Third, after installation, enter
Label:Problem Description: Using POWERDESIGNER15 to create a physical data model for Oracle 11g, you want to implement a field that is self-increasing using the following steps: 1, create a sequence, named Sequence_1; 2, in the Self-increment field edit window, select sequence sequence_01; 3, the Table Window preview tab, generate code copied to Sqldeveloper 11gr2 execution, compilation error: Powerdeginer
System Environment: Oel6.5_x86Database version: Oracle 11g 11.2.0.3.0 First, [failure phenomenon]In the process of installing Oracle 11g, the first graphical interface has just been displayed, followed by a failure warning dialog box.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/3E/D7/wKioL1PH25WRAqtYAAH_
Just now I was bored. I found an Oracle 11g database with a 0-day attack with a somewhat high impact (but low likleyhood. This vulnerability is resolved in the "file" field in the specified parameter file on the command line of the Oracle export utility. The EXPORT utility runs as privileged code. However, the vulnerability is technically exploited by imteresting
Maximum of 2GB
Variable-length type, which stores strings. Do not use this type when creating a table.
RAW (N)
The maximum is 2000 bytes, n is the number of bytes, and n must be specified
Variable-length type, which does not change the value when the character set changes.
LONG RAW
Maximum of 2GB
Variable-length types, not recommended, are recommended for conversion to BLOB types, and do not change values when the character set changes
Oracle's official SQL Developer comes with Oracle migration Workbench.
What is Oracle SQL Developer? On the official page, this is how it is presented:
Oracle SQL Developer is a free and fully supported graphical tool for database development. With SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug
I. Overview
Performance risks may occur when the SQL Execution Plan of an SQL statement is changed.
There are many reasons for changing the SQL plan, such as the Optimized Program version, optimized program statistics, optimized program parameters, solution definition, system design, and SQL profile creation.
In earlier versions of Oracle DB, various plan control technologies (such as storedoutline (9i) and SQL profile (SQLprofile (10g) were introduce
1. The function accepts 3 optional parameters, returns 3 digits andCREATE OR REPLACE FUNCTION add_three_numbers(A number:=0, b number:=0, C number:=0)RETURN number isBEGINRETURN A+b+c;END;----Call Function Add_three_numbers----1. Position notation Call functionBEGINDbms_output.put_line (Add_three_numbers (2,4,5));END;----2. Named notation Call functionBEGINDbms_output.put_line (Add_three_numbers (b=>3, a=>4
; Dbms_output.put_line ('time is:'| | Mnttime); --Set Serveroutput on/off turns on or off the screen display dbms_output.put_line ('ok, im fine' ); end; /You can save the statement to a file and then call it with the "@/path/filename.sql".Substitution variables:SELECT empno, ename from EMP WHERE deptno= Department number;If the replacement variable provides data for a numeric column, you can drink it directly, or if you provide dat
Oracle 11g re-build the objects to be deleted by EM
The re-built EM is required. The re-built EM is forced to stop due to some errors, such as the object already exists and the user already exists. In the end, the necessary conditions for creation are found;
1. environment variables (Oracle and Grid are installed und
Edition Release11.2.0.3.0Connected asCmigdw@CMIG_TESTSQL> EXECDbms_redefinition.start_redef_table ('CMIGDW','Test_date_dim','test_date_dim2'); beginDbms_redefinition.start_redef_table ('CMIGDW','Test_date_dim','test_date_dim2');End; ORA-12089: Cannot redefine table "CMIGDW" without a primary key online. " Test_date_dim "ORA-06512: In "SYS. Dbms_redefinition ", line AboutORA-06512: In "SYS. Dbms_redefinition ", line1490ORA-06512: On line1Need to have
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.