Oracle pl/SQL program design study notes this article is mainly to record some confusing or previous knowledge is not clear enough, just select common knowledge points. I. case statement and case expression 1. case statement and case expression both
Data files in the storage structure and oracle storage structures in the tablespace can be divided into physical and logical structures. The latter is born to facilitate management of the former.Oracle stores data in tablespaces logically and
In the Oracle database object invalidation solution project, VPD is used for development. The creation of Database User B objects depends on data user A. Because user A objects perform DDL, migration, dump, and other operations, this results in the
PLSQL 9 sets the 64-bit operating system to 64-bit Windows 2008 R2, and Oracle to 64-bit version 10.2.0.4. After PLSQL9.0.1 is installed, the database cannot be connected, oci. dll cannot be loaded, and the Oracle path is specified in the
DECODE () function usage: Compares the input value with the parameter list in the function, and returns a corresponding value based on the input value. The parameter list of a function is a sequence of several numbers and their corresponding result
Dblink: When you want to access data in another database table across local databases, dblink of the remote database must be created in the local database, dblink allows you to access data in a remote database table just like a local database. The
In the C/S program, the data that contains thousands or tens of thousands of rows in the Grid cannot be displayed on the webpage due to the influence of the page rendering speed, therefore, it is usually displayed in the form of pages (or it may be
ORA-38760: This database instance failed to turn on flashback database Error solution process problem phenomenon: Get up early in the morning to open the database, originally wanted to do a test, the result is not expected to pop up the ORA-38760:
Oracle Weekly Statistics statement -- Create TABLE TestCTEATE table test (id number not null, modifiedtime date not null) -- Weekly Statistics on SELECT TO_CHAR (T. MODIFIEDTIME, 'yyyy') YEAR, TO_CHAR (T. MODIFIEDTIME, 'aw') TIME, COUNT (*) COUNT
Oracle Procedure statement stored PROCEDURE basic syntax create or replace Procedure [()] IS www.2cto.com [declare section] BEGIN [] [EXCEPTION ]; <> indicates required, and [] indicates optional. Simple Example 1. Insert a record directly into the
Oralce SQL common functions (2) digital functions are input parameters for some arithmetic operations on digital data, output parameters are also the most commonly used numeric types. the structure of the TRUNC function is as follows:The first
The simple application of SQLPlus in Oracle is a command line execution tool provided by Oracle. After installation, SQLPlus is automatically registered in the system. After Oracle is installed, an emp table exists. Use SQLPlus to manipulate Oracle.
The efficiency of oracle union, union all, intersect, and minus oracle integration is higher than that of normal ones. Test Case -- test table data www.2cto.com SQL> select stuid from zr_stu; STUID ----------- 1 2 3 4 5 6 7 7 rows selected Executed
Oracle provides a Web-Based Enterprise Manager (EM.First, enterHttp: // localhost: 1158/emYou can view the port in the/oraclehome/install/portlist. ini file. Different databases have different ports.After logging on to em, the interface is displayed,
Oracle does not commonly use function 1, coalesce -- returns the first non-null parameter in the parameter list. The last value in the parameter list is usually the constant www.2cto.com. Case: If bonus is not null, result: bonus. If bonus is null,
Oracle identifies the first and last records based on a record in the tableMy table is: info_m1_tranFirst, locate the record rownum In the table. If I sort the record by data_time asc, the value of rownum will remain unchanged,SQL code select rn
Two features of the oracle role and two features of the misunderstanding role 1) method for the role's delayed delay to take effect immediately: set role name; for example: set role resource; the following experiment shows the delay recovery in www.2
The oracle wm_concat function uses the oracle wm_concat (column) function, which is frequently used. The following describes how to use the oracle wm_concat (column) function to merge fields, if you are interested in using the oracle wm_concat
ORA-00907: the problem of missing right brackets in an application system provides the ability to run orqcle SQL. Simple SQL statements run normally, and complex SQL statements with subqueries often encounter errors.However, this statement runs in
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.