Chinese Medicine Department inquires the Discharge patient Information Report the following errorThen see the SQL for the interfaceThen run the code inside the Plsql,ErrorProcessing method:1. Determine the location of the errorNow determine where
Status Query
Experimental process
SQL> startup nomount;ORACLE instance started.Total System Global Area 125829120 bytesFixed Size 1247684 bytesVariable Size 92276284 bytesDatabase Buffers 25165824
When we use MS SQL Server, we can set the table's primary key to automatically add 1 effect, but in Oracle, we cannot directly set a field to automatically add 1, we need to establish a sequence, and then create a trigger for this table, the
In the first contact with C # when the company is using Oracle database, then C # How to connect Oracle database is the first to grasp the knowledge point. There was no odp.net at the time, but Visual Studio integrated the call to the Oralce
Table of Contents
1. LOGMNR Introduction
2. Create a data dictionary
2.1. external file storage data dictionary
2.2. Redo Log Storage data dictionary
3. Add the files you want to analyze
4. Start
Service-side Character Set modification 1, confirming the service-side character set1 Select userenv ('language' from dual;2. Modify the service-side character set to first log in to Oracle as a DBA. Run commands directly under the Windows system
Application Service ErrorDatabase Background Log ErrorParsing from the log should be a rollback exception causing tablespace to be unable to use rollback segments, while rollback involves a table space of undo TablespaceTry to create a new undo
--In the native example:--Global database name: Muna--sid:haha--User: Znn (permission Connect, RESOURCE,DBA)--Table space: Haha_data and temporal tablespace haha_temp--Oracle has two built-in users: System and SYS--Querying all users in the
Create sequence Seq_loanapplicantguaranteeminvalue 1 nomaxvalue start with 1 increment by 1 nocycle NoCache; CREATE OR REPLACE TRIGGER tri_loanapplicantguaranteebefore INSERT on loanapplicantguarantee for each ROW
(+) in Oracle is a special usage, (+) represents an outer join, and is always placed on the side of a non-primary table.For example, left OUTER join:Select A.A,B.A from A left JOIN B on a.b=b.b;Equivalent toSelect A.A,B.A from a b where a.b = b.b (+)
First, special functions1:NVL functionNVL (STR1,STR2), if the first parameter of Oracle is empty then the value of the second parameter is displayed, and if the value of the first parameter is not NULL, the first parameter value is
The following tests are based on the EMP table under the Scott userFirst Test with a while loop and insert 999 data into the EMP table1 Declare2I Emp.empno%Type:=1;3 begin4 whileI +5 Loop6 Insert intoEMP (empno,ename,sal)Values(
Bought a new keyboard, happy!Come back every day and write something. Even if it is a day of work experience, should accumulate should also be helpful to oneself. Haha, the new keyboard is very useful!Today with Oracle splicing strings, start
PL/SQL--Indicates a comment| | | ' | | Stitching stringsAliasNull value and all numeric calculations result in nullEmpty value conversion function:NVL (column, number to convert)In equivalent to link with or.Not is equivalent to linking with
code block templates for OracleDeclare--Declaring variablesBegin--Execute business logicexception--Exception handlingEnd--EndNote: The code block will have a colon at the end of each SQL statementeg--plsql code blocks inserting data into the
Before using MySQL and Informix databases, it is easy to look up the first 10 data in a table:Most original version:Select Top * from StudentOf course, we can also write a bit more complex, such as some additional query conditions?For example,
1. Oracle's Custom functions2. Oracle triggers3. Oracle's Stored proceduresKnowledge Point one: Custom functionsSyntax: Create [or replace] function name (parameter)Return value type-must beIs--Declaration of variablesBegin--EXECUTE
method One: Regexp_replaceSelect T.achive_name,regexp_replace (T.achive_name, ' [^0-9] ') from T_archive_content t where t.plan_id= ' 402881ef5f702d62015f7128f2760089 ';Tags: regexp_replace The parameter description of the regular function:A total
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