Change the ORACLE archive path and archive Mode

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) Basic stored procedures, functions, packages, and triggers for pl/SQL programming

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 Statement of Oracle

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

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 the time display format of Oracle PL/SQL: NLS_TIMESTAMP_FORMAT

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 functions in Oracle

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;

Oracle hierarchical Query

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

Oracle rollback Table Record operations

Oracle rollback table record operation 1. create table mgt_data_dict_temp as select * from mgt_data_dict_ele where rownum

Exists () and in () Applications

Exists () and in () Applications 1. example: emp table: Address Numberbj 40bj 30fj 20fj 10www.2cto.com dept table: Bearing AddsNO bjSO fj (1) exists () Application select sum (Number) from emp where exists (select * from dept where Bearing = 'so')

Optimization of execution plans of oracle nested loops

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

Use PLSQL Developer to connect to a remote ORACLE database

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

Oracle query field details

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

Overview of Oracle Data Types

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,

Oracle order by and union

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

Oracle creates tablespaces and users and assigns Permissions

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

Bitmap index problems

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

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-issues with running alter table during stored procedures

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

View tables or views in Oracle

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)

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

Total Pages: 2147 1 .... 1878 1879 1880 1881 1882 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.