Common Exception Handling for Oracle

Summarizes the Oracle exceptions and handling methods that are often encountered when working with databases. Code Tips NoteGeneral processing methods ORA-01861 The text does not match the format string-

Bugs that are easy to ignore after ORACLE is grouped

Col_2 Col_321 3123 31As above table dataFront desk display shows the need to convert col_2 21 and 23 into Chinese ' machine ' starting with the following writingSELECT T.col_3,Case T.col_2WhenMachineWhenMachineENDFrom A_test_1 tGROUP by

Oracle First Experience Two

The database instance was created in the previous installment, but there was a problem when the DB instance was last accessed with EM?Enterprise Manager cannot connect to the DB instance. The status of the components is listed below.To answer the

ORACLE nologging Research

Anyone familiar with Oracle knows that by setting Oracle's nologging option, some operations can be done quickly, with the risk that a database backup might fail. There are a lot of things you can do with nologging, and gather the following

Oracle Foundation Note One

1. Basic SELECT Statement1. Basic SELECT StatementSelect identifies which columns are selected.From identifies the table from which to select.Attention:SQL language is not case sensitive.SQL can be written in one line or multiple linesKeywords

Oracle Startup Stage OPEN

Start the database to view the database log:Wed Dec 17:40:32 2014db_recovery_file_dest_size of 3882 MB is 0.00% used. This was auser-specified limit on the amount of space that would be used by Thisdatabase for recovery-related files, and Doe s not

oracle-Force Stop Job

One: The gentle way:1, view all job;SELECT * from Dba_jobs;2, check the running job;SELECT * from Dba_jobs_running;3, according to SID isolated the corresponding session;Select sid,serial# from v$session where sid= ' &sid ';4, kill the corresponding

ORACLE recovers deleted data

Tag:io    use    for   on    data    ef    amp   as    time     /*1.flashback query*/--flash back 15 minutes ago Select * from orders as of timestamp (systimestamp-interval "" Minute ") where ... You can replace minute with day, SECOND, month, for

Set up Oracle Auto-start

1. After installing the Oracle database: Execute Dbstart and Dbshut will prompt:[Email protected] ~]$ DbstartOracle_home_listner is isn't SET, unable to auto-start Oracle Net ListenerUsage:/u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart

Oracle adds annotations to tables and columns

Add comments to a tableComment on table Mw_sys. An object instance of the Mwt_om_obj1 is ' business type. ‘;Add a comment to a column in a tableComment on column Mw_sys. Mwt_om_obj1. A unique identifier for the obj_id is ' object. ‘;Comment on

Oracle obtains phonetic functions

chr

CREATE OR REPLACE FUNCTION fgetpy (v_str VARCHAR2)RETURN VARCHAR2AsV_strlen INT;V_return VARCHAR2 (500);V_ii INT;V_n INT;V_c VARCHAR2 (2);V_chn VARCHAR2 (2);V_RC VARCHAR2 (500);/************************************************************************

Oracle Custom comparison functions

1> the custom comparison function, the value of Targetval is a string, for example: ">=90", "2~8", and so on, the Dataval value is a string.Create or Replace functionCompare1 (Targetvalinch varchar2, Datavalinch varchar2)return integer

Use of merge into in Oracle

When we operate the database, we sometimes encounter the need of insertorupdate.If there is data in the database in the update, insert if it does not exist.In the past, additional select queries are required, and if there is data on the update,

Oracle Database Issues

Before installing the WebMethods to install an Oracle database, in the use of the process encountered some problems, through the Internet to find data after the resolution. As this kind of problem has appeared several times, therefore summarizes the

JAVA springmvc+mybatis (Oracle and MySQL) HTML5 bootstrap new tall background framework

Description:JAVA springmvc+mybatis (Oracle and MySQL) HTML5 new tall still background framework bootstrap1. Support App phone app (Android and iOS) interface call2. New high-html5+css3.0+bootstrap development interface UI, beautiful and stylish,

Some of the function notes in Oracle

Replace functionReplace (longest string, replaced string, replacement string)Mathematical functionsRound (N,[m]) retains the number of M-bits in total n-bit length, using rounding.Trunc (N,[m]) intercepts numbers and does not write directly to the

Oracle Foundation Note Four

Fourth Multi-table query1. Descartes SetThe Cartesian assembly is produced under the following conditions:Omit join conditionInvalid connection conditionAll rows in all tables are connected to each otherTo avoid a Cartesian set, a valid join

Basic Oracle tablespace, basic oracle tablespace

Basic Oracle tablespace, basic oracle tablespace Database Storage Structure Databases are mainly used to store and retrieve relevant information. Oracle databases include logical and physical structures. A physical structure refers to a real storage

Oracle11g manual steps

Oracle11g manual steps #create oracle instance parametervi initkevin.ordb_name='kevin'memory_target=0sga_max_size=5Gsga_target=3Gpga_aggregate_target=1gprocesses = 150audit_file_dest='/u01/app/oracle/admin/kevin/adump'audit_trail ='db'db_block_size=8

PLSQL _ base Series 8 _ operator LPAD/TRUNC/DECODE/TRIM/INSTR, plsqllpad

PLSQL _ base Series 8 _ operator LPAD/TRUNC/DECODE/TRIM/INSTR, plsqllpad BaoXinjian I. Character Functions 1. LOWER (strexp)-returns a string and lowercase all characters. select lower('ABCDE') from dual   2. UPPER (strexp) returns a string and

Total Pages: 2147 1 .... 1720 1721 1722 1723 1724 .... 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.