Today, to do a demand, according to the name of the order, the beginning of no attention, the direct sort, roughly the following.selectfromorderby nameLater found that need to use phonetic sorting, the oracle default sort is to install binary
Fully Recover data filesRman target/List Backup summary; See if there is a backup, and if there is no backup, make a full backup first (it should be backup database)Now simulate deleting data files for Oracle databaseLocate the data file directory,
1, Flash back query (principle: dependent on the undo table space)Query the current SCN numberSelect Current_scn from V$database;After deleting the data by mistakeSELECT * FROM table_name as of SCN delete data before the SCN number;Reinsert the data
Oracle Log Full system disk is full, causing the database to hang up and the Archivelog log is full, but the database is not open, unable to login, fortunately, can also go to Mount state. Workaround:1. According to the error View appearance: CRS
Check if the database is in archive mode, turn on the database hot standby mode, copy the operating system database data files to the backup directory[email protected]> archive log listDatabase log mode Archive ModeAutomatic archival
Reference content:Http://blog.sina.cn/dpool/blog/s/blog_90629d5301014a5w.htmlThe default value for a field in the database is 1, but after inserting the data, the field is empty and the value should be 1, but the actual value is empty.Looking at the
A RAC cluster of a newly installed Oracle 11GR2Three nodesCreate a good database, everything is in normal progressThen went to install an Oracle client, and when the link was made there was a ORA-12545Then a simple Baidu, some people say is 11gr1
Recursion:SELECT *From t_pams_solution tStart with t.id is nullConnect by prior id = t.parent_idORDER BY level DESCThe red characters are the table name, the start condition, the child node and the root association condition respectively.Reverse
Throw a question first:I have a table T, and now I want to update 1/4 of the records in my table, my SQL is as follows:Update t set col1= ' 123 ' where mod (rownum,4) =1Can I get the results I want?The answer is: No.Let's illustrate by an experiment.
/* Modify User password:1. Enter CMD to open the DOS window2.sqlplus/nolog3.conn/as SYSDBA4.alter user system identified by ORCL;*//**Data integrity refers to the correct state of all data values stored in the database.If an incorrect data value is
1.:Http://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html2. Linux x64 and installation files for Windows can be3. Installed on Windows, Linux is temporarily not installed4. Go to the installation directoryOrion-help Viewing Help
When oracle 11.2.0.4 is fully archived, the user limits the connection, stops generating awr snapshots (instances), and 11.2.0.4awr
AWR Snapshots Are Not Being Created Because MMON Is Not Being Respawned (Doc ID 2023652.1) To BottomTo
How can I check whether the oracle database is started in archive mode ?, Oracle Archiving
[1]
1. select name, log_mode from v $ database;
NAME LOG_MODE
------------------------------------------
QUERY NOARCHIVELOG
2. Use the archive log list
Several usage methods of oracle decode function, oracledecode
Decode usage
1: Use decode to determine whether the string is the same
DECODE (value, if1, then1, if2, then2, if3, then3,..., else)
Meaning:
IF condition = value 1 THEN
RETURN (value
Oracle case 01--ORA-09925: Unable to create audit trail file, ora-09925trail
On the first day after the Spring Festival in 2018, I encountered a problem where audit logs could not be written. The specific solution is as follows.
I. Error
Oracle AutoVue installation and configuration tutorial, oracleautovue
1 AutoVue Introduction
AutoVue provides two solutions, Desktop and Client-Server, based on the customer's application conditions. The Destop Edition is mainly based on
Solution to Oracle user locking
1. log on to and unlock the account with the dba role. First, set the specific time format to view the specific time.
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24: mi: ss ';
Session altered.
2. view the
How to connect ecplise and myecplise to the oracle databaseEcplise connect to database 1. Import jar package
For the oracle version of GB, find the corresponding jar in the following directory and import it to the project runtime environment.
Ojdbc6.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service