Oracle learning records

I used to take notes when I was studying oracle. When I started to read my computer today, I suddenly felt a little unfamiliar. It was a pity to delete it. I didn't delete it on my computer and didn't read it again, therefore, you should review it

SystemTriggers (DDL trigger) in Oracle)

This is a relatively biased knowledge, but it has a lot of practical significance and can help DBAs complete some daily management work, for example, you can disable some user functions (prohibit users from modifying or deleting a table, and

Oracle execution plan Learning

ORACLE-based application systems have many performance problems, which are caused by poor SQL Performance of application systems. Therefore, SQL Performance optimization is very important, to analyze and optimize the performance of an SQL statement,

Use of oracle stored procedures and REFCURSOR

Summary of oracle stored procedures and the use of ref cursor: mainly records the knowledge about oracle stored procedure, from definition to use. Start with the simplest example and go deeper. At the same time, the use of ref cursor is combined

Common Oracle statements

-- How to Use the grade Table data to update the usertable data (with the associated field userid)Update usertable u set u. grade =(Select g. grade from grade g where g. userid = u. userid ); -- How to generate serial numbers for query result

Database data files with Backup Recovery ORA-01157 [continued + 1]

Purpose: Test the function of disabling the database and deleting the data file.(Back up data files)When the database is started, an error is reported. How can I restore the data file ?? How to restore data files without changing paths and data

[Oracle] v $ session and v $ process

View the sid and serial of the current session #: SYS @ ORCL> select sid, serial #, status from v $ session where sid = userenv ('sid '); Sid serial # STATUS ---------------------------- 89 3 ACTIVE View the spid corresponding to the current session:

Essential Oracle statements

Essential Oracle statements -- Query table space usageSelect upper (F. TABLESPACE_NAME) "tablespace name ",D. TOT_GROOTTE_MB "tablespace size (M )",D. TOT_GROOTTE_MB-F. TOTAL_BYTES "used space (M )",TO_CHAR (ROUND (D. TOT_GROOTTE_MB-F.

Oracle11gORA-03113 fault, rebuilding Control File

In Windows, Oracle 11g cannot be started normally after a shutdown and cannot be started to the mount state: ORA-03113: end-of-file on communication channel Process ID: 4276 Session ID: 1286 Serial number: 2 Find the trc file of the corresponding

Export an empty table using oracle11gexp

Oracle 11g does not allocate segment to empty tables by default. Therefore, when using exp to export Oracle11g databases, empty tables are not exported. By default, the deferred_segment_creation parameter is TRUE. After the deferred_segment_creation

ORACLE Data Access Method

The data to be accessed by the target SQL statement is generally stored in the table, while the data in the ORACLE access table can be accessed in two ways: one is to access the table directly, and the other is to access the index first, in the back

How to permanently delete an Oracle database

1. Disable all oracle services. You can disable it in the windows Service Manager;2. Open the Registry: regedit open path:HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ delete all service names starting with oracle in this path. This

Introduction to oraclegoto statements

I. Definition: The Oracle PL/SQL GOTO statement is a sequential control structure available in Oracle. the GOTO statement immediately transfers program control (called "branching") unconditionally to a named statement label or block label. the

Exists, In, ANY, ALL In Oracle

Exists: the condition is true when the subquery returns at least one row. Not Exists: the condition is true if the subquery does Not return any row. In: It is equal to a value In the returned result set of the subquery. Not In: it is Not equal to

Mass storage procedures of oracle and SQL server can be replaced

1. replace or replace in the create or replace Procedure Stored Procedure Code for oracle to CREATE a stored Procedure with null 2. Replace oracle variables (with the same field name) with the @ variable name. For example, replace user_id with @

Oracle connection Query

Background: The emp table has 14 records: Four records in the dept table: The salgrade table has five records: I. CROSS JOIN) Cross join: there are two types: explicit and implicit, without the ON clause. The returned result is the product of the

Oracle series-Article 3 Oracle Installation

Before installation, let me talk about the configuration of my computer: OS: Windows 7 32bit CPU: 3 GHz Memory: 2 GB Desk: 320 GB ========================================================== ========== Next, let's take installing oracle 10 Gb as an

Oracle series-Part 4 uninstallation of Oracle

Oracle uninstallation is a relatively troublesome task. Unlike other software, we can easily and quickly uninstall the software according to the uninstallation wizard. Oracle uninstallation involves modifying the registry and restarting the

Oracle series-Article 5 connecting PLSQL to a local Oracle Database

This blog is intended for beginners and I am also a beginner :) We have successfully installed oracle on our computer, so how can we connect PLSQL developer? What about local oracle? First, we must prepare for the following steps: The following

Test the insert performance of table space and table space in Oraclesystem

SQL> show userUSER is "ZHONGWC"SQL>SQL> select * from v $ version;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.5.0-64biPL/SQL Release 10.2.0.5.0-ProductionCORE 10.2.0.5.0

Total Pages: 2147 1 .... 1726 1727 1728 1729 1730 .... 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.