Task Plan-RMAN Delete expired backup

Task Plan-RMAN Delete expired backup crontab-l www.2cto.com Crontab code oracle @ ntsmshost :~ $ Crontab-l # m h dom mon dow command 20 1 ***/data/scripts/shell/expdp_ntsmsall2.sh 01 1 ***/data/scripts/shell/rmn_del_obsolete.sh vi/data

Oracle remote database connection Configuration

Oracle remote database connection configuration introduction Oracle Database remote connection can be achieved through a variety of methods, this article we mainly introduce four remote connection methods and precautions, and through examples to

SQL statement for querying the active cursor count of an ORACLE Database

The number of active cursor cursqueries SQL [SQL] www.2cto.com select allcursor all cursors, MYALLCURSOR my cursnumber, myopencursor I open cursnumber, MYCACHECURSOR my SESSION cache cursnumber, (MYALLCURSOR-MYOPENCURSOR-MYCACHECURSOR) Number of my

Oracle tablespace query and operations

Oracle tablespace query and operations 1. query the usage of oracle tablespace www.2cto.com select B. file_id File ID, B. tablespace_name tablespace, B. file_name physical file name, B. total bytes, (B. bytes-sum (nvl (. bytes, 0) used, sum (nvl (.

Oracle get the maximum date

Oracle obtains the maximum DATE SQL code www.2cto.com -- Created on 2010/06/08 by NAN declare -- Local variables here TYPE t_test IS TABLE OF DATE INDEX BY BINARY_INTEGER; v_test t_test; v_date DATE; BEGIN -- Test statements here v_test (1): = '00000

Oracle SQL Test 1

Oracle SQL Test 1 SQL code www.2cto.com id sname smoney sprovince 1 zhangsan 2098 A 2 lisi 3000 B 3 wangwu 6789 C 4 liumazi 4587 C 5 dongjiu 3298 B 6 shiga 4567 A id: contract id sname: Name smoney: Performance sprovince: Region create table test

Four Oracle equivalent SQL statements

Oracle 4 equivalent SQL code www.2cto.com SELECT COUNT (1) FROM (SELECT k001 FROM (SELECT k001 FROM kbib GROUP BY k001) k where not exists (SELECT 1 FROM (SELECT k003 FROM calb group by k003) c WHERE k. k001 = c. k003) select count (1) FROM (SELECT

Oracle sequence export Method

Method 1 of oracle sequence export: execute the following SQL: SEQUENCE_OWNER = 'database login username'; www.2cto.com SELECT 'create sequence username. '| SEQUENCE_NAME | 'minvalue' | MIN_VALUE | 'maxvalue' | MAX_VALUE | 'start with' | LAST_NUMBER

Oracle custom functions, no parameters, input parameters, output parameters, and other usage

[SQL] www.2cto.com -- 19-1: create or replace function cur_datetime RETURN VARCHAR2 is begin return TO_CHAR (sysdate, 'yyyy "year" MM "month" DD "day" HH24 "Hour" MI "Minute" SS "seconds" '); END;/-- 19-2: create or replace function get_sal (name

Database paging query keywords

Database paging query keyword SQL code www.2cto.com 1. select * from (select. *, rownum rc from table name where rownum = startrow common paging syntax for oracle. Assume that select * from (select t. *, rownum from (select * from table1 where

Use the system package DBMS_ALERT to monitor the table

Use the system package DBMS_ALERT to monitor the table DBMS_ALERT and support asynchronous database event capturing. www.2cto.com is now testing the changes in the captured table. The test table is emp. because it is asynchronous, we need to open

Oracle keyword table creation typeid Field

The typeid field of the oracle keyword table is not long ago. When you import the oracle database, you cannot create a table because it contains a field named after the oracle keyword. Www.2cto.com: How was the table created successfully? With

Oracle Database Partition technology

Oracle Database Partition technology Partition introduction Partition refers to dividing a very large table or index into smaller, easy-to-manage logical fragments-partitions according to the value of a column. Partitioning a table or index does not

Oracle constraints and Indexes

Oracle constraints and index constraints www.2cto.com constraints include: not null, unique, primary key, foreign key, check not null (non-null). If not null is defined on the column, when inserting data, you must provide the data unique (unique)

Oracle uses jobs for periodic and scheduled task execution

In oracle, jobs are used to periodically execute Task 1. view the jobselect job in the oracle database, what from user_jobs; 2. delete jobexecute dbms_job.remove (jobID) in oracle. Note: jobID is the job value queried in "select job, what from

Oracle RAC startup sequence

Oracle RAC startup sequence process owner -- Process ---- log location www.2cto.com $ LOG_HOME = $ GRID_HOME/log/hostname/root ----/etc/init. d/init. ohasd run --- $ LOG_HOME/ohasd. log root ----- orarootagent. bin ------ $ LOG_HOME/agent/ohasd root

Oracle escape & amp; Analysis

Oracle escape & Analysis of insert into table1 (ID, DESCRIPTION) values (1, '/Action. do? Method = getA & iframe = true '); when inserted in pl/SQL, iframe is regarded as a variable and changed to the following form: insert into table1 (ID,

DB_create_file_dest initialization parameter settings

In oracle, this parameter is used to specify the default path for creating data files on the Oracle Database Server. In addition to data files, it is said that you can also create other default paths for files such as log files and control files,

Oracle UDF returns a table Type

Oracle user-defined functions return a table type. The following is a simple example. To copy data to the oracle database, you can use www.2cto.com 1, 2, create or replace type t_test as object (id integer, rq date, mc varchar2 (60) 3. create or

Oracle compilation of stored procedures with array parameters

[SQL] www.2cto.com -- function: This function uses a combination of stored procedures and types to Perform Batch operations, saving system overhead and improving efficiency. -- CREATE Type bodies create or replace type TYPE_ARRAY as object (id

Total Pages: 2147 1 .... 1884 1885 1886 1887 1888 .... 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.