Common Oracle pre-defined exceptions

1) acess_info_null The exception corresponds to the ORA-06530 error code. When developing an object type application, you must initialize the object before referencing the object property. If the object property is directly referenced without

Oracle lists all the date and month in the latest month

1. List dates If you know the start date and end date, how can you use an SQL statement to get all the dates in this period. Eg:Known:2007/04/25 2007/05/02It is concluded that:2007/04/252007/04/262007/04/272007/04/282007/04/292007/04/302007/05/012007

Full Oracle Database Backup

I have performed a full Oracle database backup. I don't know if it is correct. A backup file is generated. I checked a lot of information and found many methods. I still use exp, which is simple. I will study the differences later. Exp

How to add one day or one minute to the current Oracle date

In oralce, I found the add_months function. You can use the following method to add the number of days n. Select sysdate + N from dual In oralce, I found the add_months function. You can use the following method to add the number of days n. Select

CMD command Oracle starts two instance Libraries

// Restart the server reboot Telnet 172.21.1.11 Enter User Name Enter Password Su-Oracle Export oracle_sid = orcl // database instance name LSNRCTL start // start the listener Sqlplus/nolog // open sqlplus Conn/As sysdba Startup // start

Oracle stored procedure 3: Advanced

1. The select into statement requires at least one record of the select result;If RS is null, no_data_found exception is thrown. Therefore, exception capture is required; 2. When performing update and delete operations, you can replace the PK with

Converts data from date type to Java long type in Oracle in milliseconds

In Java Development, we often use the long type to save the time for convenience. currenttimemillis () or Java. util. date. gettime (). The value is the number of milliseconds between the current date and the 1970-01-01; However, in Oracle,

Introduction to Oracle indexes (10-minute reading test)

What can I do if I continue my experiment for 10 minutes today? I chose to introduce Oracle indexes. The results are as follows: Search for information from Google:1: 15 seconds. Read the overview section:3: 15 seconds. Oracle indexes mainly include

Oracle tablespace Design

Oracle tablespace Design Tablespace design principles: 1. assign different tablespaces to tables and indexes. 2. assign different tablespaces to the formal and historical tables to improve data security. 3. assign a separate tablespace for the big

Maintenance of Oracle tablespace

Oracle storage hierarchy Overview1) A database consists of one or more tablespaces.2) a tablespace consists of one or more files. The files that make up the tablespace can be various files in the file system, and the tablespace contains segments.3)

Oracle table associated applications

Association is the most useful in Oracle Data Query. Flexible applications can solve many practical problems. The following are some examples: Create a tableCreate Table AB(AB _id number (5 ),AB _name varchar2 (30));Create Table bb(Bb_id number (5

Main Configuration File explanation for Oracle)

Oracle configuration file introduction: Profile file, oratab file, database instance initialization file initsid. ora, Listener Configuration File, sqlnet. ora file, tnsnames. ora File 1.2 introduction to major Oracle configuration

Common Oracle classic SQL query stickers)

KingSoft Antivirus online update module is an online anti-virus update module.The ActiveX control in the online upgrade module of KingSoft Antivirus improperly processes user-submitted parameter data. Remote attackers can exploit this vulnerability

Oracle uses the to_char and next_day functions to obtain the first and last day of the week.

To be accurate, a week starts from Sunday to Saturday, and our habits are that the first day of a week is Monday, and the last day is Sunday. Many query conditions and statistics require a period of one week, that is, the period from Monday to

Oracle automatic start and stop in Linux (2)

OverviewEnabling the database to automatically start when the operating system starts makes database maintenance easier and more convenient.I have written an article "Oracle Auto Start and Stop in Linux (I)" http://blog.csdn.net/chenxiao#/archive/200

Oracle automatic start and stop in Linux (1)

Modify the Oracle system configuration file/etc/oratab/Etc/oratab format: Sid: ORACLE_HOME: AutoSet the auto domain to Y (uppercase). Only in this way can dbstart and dbshut of Oracle be used. Mine is:$ Oracle_sid: $ ORACLE_HOME: YHere, oracle_sid

Paging query for MySQL, sqlserver, and Oracle databases

MySQL, sqlserver, and Oracle databases are queried by page The database implements the paging query method.I,MySQL database paging QueryThe implementation page of MySQL database is relatively simple, and the limit function is provided.

Common Oracle DBA Statement 1

1. Check the table space name and size. Select T. tablespace_name, round (sum (Bytes/(1024*1024), 0) ts_sizefrom dba_tablespaces T, dba_data_files dwhere T. tablespace_name = D. tablespace_namegroup by T. tablespace_name; 2. view the names and sizes

Oracle DBA Learning Log 1 (controlfile, tablespace)

-- Controlfile/* examplaestartup nomountcreate controlfile reuse Database "x201006" noresetlogs noarchivelog maxlogfiles 16 maxlogmembers 3 maxdatafiles 100 maxinstances 8 maxloghistory 292 logfile group 1 'd: \ oracle \ product \ 10.2.0 \ oradata \

Common Oracle DBA statements 6

dba

########## Managing Tables ############/* char type maxlen = 2000; varchar2 type maxlen = 4000 bytesrowid is an 18-bit 64-digit string (10 bytes 80 bits) consisting of rowids: Object # (object number) -- 32 bits, 6-bit rfile # (relative file number)

Total Pages: 2147 1 .... 1468 1469 1470 1471 1472 .... 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.