1. View the creation mode of the database sql> select name,cdb,con_id from V$database;NAME CDB con_id--------- --------- ----------ORA12C Yes 0 shows yes to the database in CDB mode 2. View root container name sql> show Con_nameCon_name--------
The SELECT statement in Oracle can implement a recursive query using the start With...connect by prior clause, which is used in structured queries.The basic syntax is:Select ... from where Start with Connect by ;: Filter condition for filtering all
In Oracle, the having must be used in conjunction with group by, but in MySQL the situation is different and can be used alone.C:\Documents and Settings\guogang>sqlplus Test/testSql*plus:release 10.2.0.1.0-production on Tuesday August 12 09:09:58 201
I. Log in to Oracle using SYS user(1) Run-cmd-sqlplus-sys/password @ Connect character as SysdbaIi. Delegation of authority1, Grant Ctxapp to full-text search user use;2. Grant execute on Ctx_dll to full-text retrieval using the user;3. Full-Text
1. Create a new log group1.alter Database Add logfile Group 4 ('/u01/app/oracle/oradata/jian/redo04.log ') size 1024k;2.alter Database Add logfile Group 5 ('/u01/app/oracle/oradata/jian/redo05.log ') size 1024k;2. Switch the current log to a new log
Oracle11g installation and basic usage-reprinted, oracle11g installation reprinted
The size of the captured image is different. You can check it later! Test whether the operating system and hardware environment are consistent. I use win2008
Reproduce the librarycachelock wait event at Oracle11g
From the example below, we can see that re-Compilation of objects in the production database will lead to library cache lock, so we should try to avoid compiling objects during business peaks.
A detailed description of services and services that must be enabled for Oracle 11g, oracle11g
After successfully installing the Oracle 11g Database, you will find that your computer runs slowly, and your computer with low configuration may even
Create a new user and modify the maximum number of connections at oracle11g
Create user test identified by root; grant create session, resource to root; alter user test account unlock; grant create view to test; grant any sequece to test; grant
Oralce11g registry uninstall 20140810
Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE][-HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in
How to use oracle trunc () function, oracletrunc
Oracle trunc () function is one of the most common functions. The following describes the usage of oracle trunc () function for your reference () functions have a deeper understanding.
1. TRUNC (for
ORACLE learning notes-create a user and a table, and create an oracle learning note
I. User-related SQL statements
/* Create a user */
create user SA identified by 2013;
Description: SA user name and 2013 Password
/* Authorize connect, resource to
Oracle implements SQL syntax aggregation for paging queries and oracle paging SQL syntax
The examples in this article summarize the SQL syntax for Oracle paging query, which is for your reference. The details are as follows:
1. There is no order by
DBA installation of Oracle Database11g database graphic tutorial in Linux, dbadatabase11g
Oracle11g is a common version. It is a pity that it failed to try to install Oracle 12c.The following documents are prepared:
1. Connect to the Installation
SQL GROUP BY and sqlgroupby
Group by is a GROUP query. Generally, group by is used with Aggregate functions.You use group by to group by the ITEM. ITEMNUM field. If the content of other fields is different, how can this problem be displayed?A B1 abc1
Oracle queue type
For more information, see the official oracle11gr2 documentation 《Oracle? Database Reference11GRelease 2 (11.2)"
Queue definition:The oracle queue has a shared memory for serial access to database resources.Lock. It is produced by
ORA-00265: requires instance recovery and cannot set ARCHIVELOG mode work undThe solution is as follows:From Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProductionWith the Partitioning, OLAP and Data Mining options disconnectedC: \
Oracle table connection modes (SQL optimization)
1. NESTED LOOP
For a small subset of connected data, nested loop connection is a good choice. The nested loop is used to scan a table. Every time a record is read, it is searched in another table
Temporary tables in oracleTemporary table:
In addition to permanent tables, oracle can also create temporary tables to store session private data, which only exists during the period of a transaction or session.
The create global temporary table
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