Change the ORACLE archiving path and archive mode in ORACLE10g and 11g versions. The default log archiving path in ORACLE is the flash recovery zone ($ ORACLE_BASE/flash_recovery_area ). ORACLE has a limit on this path, that is, it only has 2 GB
Oracle (3) pl/SQL programming basic stored procedures, functions, packages, triggers PLSQL programming (1) 1. Procedures, functions, and triggers are compiled by pl/SQL. 2. Procedures and function triggers are in oracle. 3. pl/SQL is a very powerful
Subquery: if another query is included in a subquery, The subquery format is SELECT {DISTINCT} * | column name 1 alias 1, column name 2 alias 2, FROM table name 1 alias 1, table name 2 alias 2, (SELECT {DISTINCT} * | column name 1 alias 1, column
Oracle note (3) Scott's table structure is being studied in Oracle, focusing on SQL statements, and all SQL statements must be completed under scott, this user has a total of four tables. You can use: SELECT * FROM tab; to view the names of all data
Set Oracle PL/SQL time display format NLS_TIMESTAMP_FORMAT TIMESTAMP in Oracle the time field of the display format of Oracle Database we usually use timestamp format, before not set, the queried data is similar to "27-1-08 12.04.35.877000 am
Ibatis calls the function in Oracle to make the assumption that the student's student ID and name can be uniquely identified. Create or replace function get_stu_birth (vid varchar, vname varchar) return date is vbirth date; www.2cto.com n number;
1 Definition: hierarchical query uses tree traversal to traverse data sets containing tree structures to obtain the parent-child relationship of tree hierarchy reports. You can control the following: ① The direction of the traversal tree is from top
The two datasets processed by nested loop connection are called the External loop (that is, the driving data source, driving row soulce) and the internal loop (inner loop ). The External Loop is the left subnode, and the internal loop is the right
Using PLSQL Developer to connect to a remote ORACLE database using PLSQL Developer to connect to a remote ORACLE database is roughly divided into two steps. First, create a new database in oracle Enterprise Manager (OEM), that is, click "add
Select column_name, data_type, data_lengthfrom all_tab_columns where table_name = 't_ cakey' select * from user_tables -- query the table owned by the current user select * from dba_tables -- users with DBA permission can query all the tables select
It is important to select an appropriate data type in Oracle's data type overview, because it is difficult to modify it in the future. Oracle provides 22 different SQL data types. For a brief introduction: www.2cto.com 1. char: fixed-length string,
Use of oracle order by and union statements when union operations are used, the sorting statement must be placed at the end of the statement. For example: www.2cto.com can only use order by in the last subquery of union, this order by is for the
Create a tablespace in oracle and assign permissions to users -- create a temporary tablespace create temporary tablespace data_temp tempfile 'd: \ oracle \ oraudata \ data_temp.dbf 'size 2000 m autoextend on next 500 m extent management local; www.2
I used to be confused about why index indexing cannot improve efficiency. Later, I found in many books and forums that there are three types of indexes. The default index is the B-tree index. This type of index has no advantage in dealing with
Oracle automatically inserts million rows of records 1. Open the ql/SQL test window www.2cto.com2. input the script -- Created on 2012/11/7 by JERRY declare -- Local variables here count integer; begin -- Test statements here dbms_output.put_line
PLS-00103-Problems with running alter table during stored procedures the following error occurs when running alter table during stored procedures: www.2cto.com Compilation errors for PROCEDURE. UNDOMERCHANTACCOUNT Error: PLS-00103: Encountered the
Check which tables or views are available in Oracle. 1. query which tables of the current user have the SQL code SELECT * FROM user_tables www.2cto.com. 2. query the current user, which tables can be accessed [that is, access to yourself and other
View the oracle Execution Plan (command implementation). See the following small exercises to show you how to use oracle commands to view the execution plan. www.2cto.com 1. SQL statement to view the law enforcement plan: SQL code explain plan for
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