The following error occurs when I open the database today and want to modify the archive mode of oracle: SQL> alter database archivelog;Alter database archivelog *ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode I
The user status changes to the resignation status, the system configuration table is triggered, and the configuration table status is modified.Create or replace trigger BASEDB_USERLEFTBefore update or delete on basedb_usersFor each rowDeclare--
Group and sort multiple data and obtain the first record in each group.
SQL code
SELECT *
FROM (SELECT ROW_NUMBER () OVER (partition by order by DESC) lev,
.*
FROM )
WHERE lev_= 1
Order by DESC
SELECT *
FROM (SELECT ROW_NUMBER () OVER
Oracle has three main memory structures:The System Global Area (SGA) is a large shared memory segment. Almost all Oracle processes need to access a certain point in this zone.The Process Global Area (PGA) is the memory dedicated to a Process or
Transaction isolation levelThe ANSI/iso SQL standard defines four transaction isolation levels, which are defined based on three phenomena1) dirty read (dirty read)Can read uncommitted data, that is, dirty data.2) nonrepeatable read)If a row is read
The database can have two LOG modes: ARCHIVELOG mode and NOARCHIVELOG mode.
In NOARCHIVELOG mode, online redo logs are not archived after they are fully written, so they cannot be recovered after a fault occurs.
You can use the select log_mode
Where can I start learning about Oracle? Here, I will take you to the door of Oracle. One chapter a day, seven days of entry is not a dream.
1. Synonyms
1.1 Solution
The solution is a collection of database objects. To distinguish each set,
The connect by level syntax is particularly useful when constructing a large amount of data. However, if you do not really understand the meaning of the syntax, misuse will lead to the production of a large amount of data, generally, the incorrect
1. Install Character Set Character
Refer:
Http://www.oracle.com/technetwork/database/globalization/index-085942.html
Generally. This tool is available when you install the oracle system.
Bash-3.00 $ which csscan
/Orahome/oracle/product/11.2.0
1. login SQLPLUS prompts ORA-12560 protocol adapter error (win environment)
(1) check whether the Database Listener has been started:
# Lsnrctl status
# Lsnrctl start
# Lsnrctl stop
(2) check whether the database service has been started
Rowid structure analysis select rowid from dualaaaab0aabaaaaoha1_owid structure: object number file number block number xxxxxx xxx therefore, AAAAB0 object no. AAB File No. AAAAOh Block No. AAA line number how do I know the decimal encoded values of
Oracle to_number () function learning 1,
Converts a string to the NUMBER data type (convert a string to a numeric data type) TO_NUMBER ( [, , ]) RETURN NUMBERselect to_number ('123') from dual; to_number ('123') 00001228 select trunc (to_number ('12
Steps for specifying column sequence without damaging data
-- T_LAW_RULE alter table T_LAW_RULE drop primary key; -- delete the primary key alter table T_LAW_RULE MODIFY (id null); -- set it to null alter table T_LAW_RULE ADD (ID_TMP CHAR (32 )); --
Use the runcluvfy. sh scriptOracle officially recommends that you run this script before installing oracle grid to check whether each node meets the official requirements for grid installation: if it is your own test environment, some 'unpassed 'can
RAC 11.2.0.4 installation encountered INS-06001 to solve the problem of installing grid software 11.2.0.4 today. When configuring passwordless SSH, click setup to see this error and start searching online. Everything is said, System bugs, and so on,
Oracle 10g Database Character Set Change and exceptions 1. change the DATABASE character SET to gbkshutdown immediate; startup mount exclusive; alter system enable restricted session; alter system set JOB_QUEUE_PROCESSES = 0; alter system set
Summary of Oracle flash flashback 1. Description: The technology used. Multiple technologies are used. 1. flash Back log 2. recycle Bin 3. the rollback segment cannot use the recycle bin operation Drop table xxx purge; Drop tablespace xxx Drop user
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