Enter the DOS interface.
Enter the SQL file directory.
Run Sqlplus,c:\sql>sqlplus user_name/[email protected]_service_name at the command prompt
Specify the SQL execution log file, log filename arbitrary, but must be a log suffix name:
Index, index creation, modification, deletion2007-10-05 13:29 Source: User reviews 0 Views 2986IndexAn index is an object in a relational database that is used to hold each record, and the main purpose is to speed up the reading speed and integrity
Orabbix monitoring Oracle Database 1 Downloads:http://www.smartmarmot.com/product/orabbix/download/2 permissions granted to a file for execution#chmod +x /opt/orabbix -R#chmod +x /opt/orabbix/run.sh3 Create a file named Config.props, you can refer
List the points of knowledge about OPROCDOPROCD is the introduction of Oracle in RAC to fencing IOUnder UNIX systems, if we do not use third-party cluster software other than Oracle, there will be OPROCD processesUnder the Linux system, only after
After today's shutdown immediate command issued to the test library, the observation log found the following:Tue May 12 09:52:45 2015Shutdown:active processes Prevent SHUTDOWN operationShutdown is blocked by the active process, CTRL + C cannot
Implement IndexOf and LastIndexOf features in Oracle SQL, substr and InStr Usage Blog Category: Oraclepl/sql instrsubstrlastindexofindexoforacle. Implementing IndexOf and LASTINDEXOF capabilities in Oracle SQL Oracle, SQL, INDEXOF, lastIndexOf today,
Previously just simple to use the program to manipulate data, now found that they do not have the system of learning, so want to record their own in the database problems encountered, will refer to the query network some information, now look at the
Dbms_random is a PL/SQL package provided by Oracle for generating random data and characters. It has the following functions.Of these, the Initialize,random,terminate function is deprecated in oracle11g and is mainly used for backwards compatibility.
12c, each log switch will change the permissions of Alert_sid.logFrom:Alert log file ' s permissions change with every log switch in 12c (Doc ID 1637367.1)Suitable for:Oracle database-enterprise edition-version 12.1.0.1 and laterInformation in this
Serial Number rules table Rul_sequence:
Data in the Rules table:Generate serial number-assisted stored procedures:CREATE OR REPLACE PROCEDUREProc_getseqence (Seqcodeinch varchar2, Returnnum outVarchar2, Messagecode outvarchar2)--exception
During the SQL statement optimization process, hint is often used,The following are 30 uses of "HINT" in Oracle Common in SQL optimization1./*+all_rows*/Indicates that the cost-based optimization method is selected for the statement block, and the
First, the demandWhen will Oracle cursors be used, and for, loops, if?First look at such a requirement:There is a student lecture form t_teaching, each student has several courses:
Primary Key ID (self-increment)
Course Number
When you count a field with a null value, you find that count (1) is different from the record that is obtained by count (field).Conclusion: 1.count (1) is consistent with the result of Count (*) and contains a null value.2.count (field) does not
It is well known that several result set collection operations commands, tested today in detail, found some problems and recorded the preparation.Suppose we have a table student that includes the following fields and data:drop table student;CREATE
In Oracle 12c, you can use sequences of and NEXTVALCURRVAL的值作为默认值,来实现列自增!One, the use of the sequence ofNEXTVALandCURRVAL的值作为默认值Create a sequenceCREATE SEQUENCE T1_seq;Build tableCREATE TABLE numberDEFAULT VARCHAR2 (());Inserting dataINSERT intoT1
After reading this blog post, Oracle, MYSQL, SQL Server data paging query, in accordance with the company's Regionres table madePaging query statements for SQL Server:SELECT DISTINCT TOP -rr.id asID, Rr.strname asname, Rr.ntype asRes_type,
Oracle Normal view and solid view comparisonSource: Rank Blog | 2013-07-30 Oracle Normal and solid views compared to normal views, the entity view differs in that the manifested view manages the stored data, occupying the physical space of the
Method One,Just define the "ordinal" as a formula, and set the formula to: Get_block_property (' Block_name ', Current_record) can be implemented, or put this line of statements into the "When-create-record" trigger.Disadvantage: The line number
The path and archive directory where database resides must be separatedThe location of the database is the path of the Redol log file, the path where the datafile is located, the path of the control fileThe archive path mentioned here refers to the
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