See this interface, I believe a lot of people will like, this interface is very concise, there is no superfluous things, I think the day-to-day operation can basically meet the requirements of the operation of the database is very convenient, I
Oracle exceptions are predefined and custom exceptions (personally felt).
Predefined exceptions include anonymous exceptions and non-anonymous exceptions.
(Anonymous exception: No name, like ORA-00371;
Non-anonymous exception: name, like
In Oracle, cursors are the most common and most efficient way to manipulate data.Depending on the declaration method of an Oracle cursor, Oracle cursors can be divided into both explicit and implicit.An explicit cursor is an explicitly declared
Build table:
CREATE TABLE User_info (ID INTEGER NOT NULL,UserName VARCHAR () NOT NULL,PassWord VARCHAR is not NULL,CreateDate Date NOT NULL,The Status INTEGER is not NULL,Constraint Pk_user_info primary KEY (ID));
CREATE TABLE User_info_temp (ID
EXEC Dbms_job.broken (23,false);Commit
Select T.*, t.rowid from Dba_jobs t;
Select T.*, t.rowid from Sys.user_jobs t;
Select Job, Last_date, next_date, broken, interval, failuresFrom User_jobs;
When a job returns an error at run time, Oracle
In an Oracle database, the more frequent the submission is, the better. On the contrary, bulk submissions can get better performance. This article gives you a simple demonstration of the performance difference between submitting a row to a bulk
When we test the data or do some kind of large amount of data, we can use the statement for mass insert,
My test, 100,000 data insertion time of 7 seconds or so, 1 million record insertion time of 65 seconds, 2 million inserted into 150 seconds.
Materialized views in Oracle
A materialized view is a database pair that includes a query result, which is a local copy of the remote data, or is used to generate a summary table based on the sum of the data tables. Materialized views store data
Decode (divisor, 0, show 0%, not zero normal expression) instead of the original that there is a possibility of 0 of the expression in addition to the error
Resolution: Select Decode (b,0,0,a/b*100) per from AA;
(1) The meaning of decode
Meaning
What is a stored procedure.
is a collection of SQL that can be manipulated programmatically.
the advantages of stored procedures. execution is efficient because the stored procedure is precompiled, that is, when the compile is created, and the
Select T.table_name,t.num_rows from User_tables t
If the above SQL is not found, execute the following script:>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>Create or Replace function count_rows (table_name in VARCHAR2,Owner in varchar2
Method One:First, create a computational function>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>
Create or Replace function count_rows (table_name in VARCHAR2,
Owner in varchar2 default null)
return number
Authid
Oracle | Pl/sql Unique index (unique Constraint) usage 1 target
Demonstrates how to create, delete, disable, and use a uniqueness constraint with an example. 2 What is a uniqueness constraint.
A uniqueness constraint refers to a constraint in a
Error when connecting to Oracle database using DB Browser Wizard in MyEclipse:
Error while performing database login with the Oracle.jdbc.driver.OrcaleDriver driver:Ora-00604:error occurred at recursive SQL level 1Ora-12705:cannot Access NLS data
Oracle databases have three standard backup methods, namely, export/import (EXP/IMP), hot and cold backup. Exporting spare parts is a logical backup, and cold and hot backups are physical backups.First, export/import (Export/import)Export can be
Ext: http://www.cnblogs.com/hustsay23/archive/2011/11/05/2237748.html
The biggest difference between an Oracle database and SQL Server is that the latter is simple to accomplish. The graphical interface can be done step-by-step, and Oracle needs
We typically install the Oracle database on Linux or configure the core parameters of the Linux system when replacing or upgrading the hardware, and then adjust the Oracle system parameters. The actual meaning of these parameters is what, why to
1, Login server
2. See if the disk space is big enough df-h
-H more Current disk space and usage to be displayed in a more readable way
[Root@rac1 ~]# Df-h
FileSystem Size Used Avail use% mounted on
/DEV/SDA1 2.9G 2.3G 521M 82%/
None 209M 0 209M 0%/
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