Restore deleted data on the current day

  In December 2, I deleted the database by mistake. The boss was so upset that I would recover the database within 30 minutes. In a hurry, I wrote a stored procedure, this method is applicable when the table is deleted on the day of restoration

Association between primary key constraints and unique indexes in ORACLE

  In ORACLE, You can automatically create a unique index when creating a primary key constraint, or create a unique index first, and then create a primary key constraint based on this unique index. The latter method has the following advantages:

Oracle SQL BASICS (2) [Joint query, union, subquery, outer and inner join, copy table]

Calculate the total amountSelect sum (price * qty) from books; Query groups (the group by statement must be in select)Select sum (price * qty) from books group by pub; use Group by and having to replace where Incorrect case:This is not correct. As

Basic PL/SQL programming (11) [tablespace overview, description, and creation] [local management and dictionary management, switch management]

1. concept:The tablespace is the largest logical carrier. It stores the associated database logic and stores database files.2. Create a tablespace using SQLPLUSCreate tablespace tabs -- create a tablespaceDatafile 'f: \ oracle \ product \ 10.2.0 \

Differences between Oracle Purge and drop

Author: runming 2012-2-1 QQ: 226399587 http://blog.csdn.net/runming918 Difference between Purge and drop:The new flashback drop feature provided by Oracle 10g provides the flashback drop feature to speed up recovery of user error operations. In

Oracle Partition Summary

Author: runming 2012-2-1 QQ: 226399587 http://blog.csdn.net/runming918 This article describes the concepts and operations of Partitioned Tables from the following aspects:1. Concepts of tablespaces and partition tables2. Specific functions of table

Sharing pool for Oracle Performance Optimization

1. Introduction to shared pool: The location, parts, and functions of the Shared Pool; Ii. Set and view the shared pool size: In 9i, we use the Shared_pool_size parameter to set the size of the Shared Pool. Let's talk about the setting in 10 Gb. In 9

Oracle Installation documentation for 64-bit linux

The installation steps are basically the same as those of 32-bit, and some parameters are changed. Official Website installation documents:Http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#CIHFICFD  1. Install the

Oracle primary key settings

I recently summarized how to set the oracle primary key. paste it here and save it. There are two ways to set a primary key, one is auto-incrementing primary key, and the other is to generate a unique sequence.I. Auto-increment primary key -- First

Use pl/SQL to install the oracle explain plan (Execution plan)

1. log on to the database as an administrator using pl/SQL 2. Run the script file utlxplan in the path % oracle_home %/rdms/admin, for example, D: \ Oracle \ rdbms \ admin.      Note that all file types should be selected below      Then run,       

ORACLE table Batch Processing

-- Common oracle system tables/*Start with dba .....Dba_users database user informationDba_segments table segment informationDba_extents data zone informationDba_objects database object informationDba_tablespaces database tablespace

How to import the table structure under one user to another in Oracle

In Oracle, how does one import the table structure under one user to another? Unix: exp \ 'sys/password as sysdba \ 'file =. dmp owner = Export user rows = Nimp \ 'sys/password as sysdba \ 'file =. dmp fromuser = Export user touser = import user in

Oracle uses the Start with... Connect By clause for Recursive queries

Oracle uses the Start with... Connect By clause to recursively query ORACLE. It provides an interesting function to connect by clause, which can sort the branches with a family tree structure. It applies to the structure of organizations or

Common oracle and sqlserver Functions

Common oracle and sqlserver functions: decode (c1, A, y1, B, y2 ....) // c1 is the prerequisite, A is the comparison object, y1 is the result object, B is the comparison object, and y2 is the result object. Equivalent to case when (..) and (..) then

Oracle 11g cannot export empty tables

In oracle 11g r2, we found that the traditional exp could not export an empty table, and then looked at it and found that the following steps are required to take notes. Oracle 11g adds a parameter: deferred_segment_creation, which indicates that

Solution for prompting that the tablespace does not exist when Oracle has a LOB type

Problem:During database migration, if the table contains LOB fields (BLOB, CLOB, etc.) and IMP fails, the system prompts that the tablespace does not exist.Cause:All data of the LOB type is stored in the tablespace, and only the pointer is stored in

Analysis of automatic ORACLE11G Memory Management

ORACLE 11g Automatic Memory Management: in oracle 11g, the SGA and PGA components can be automatically allocated based on the workload by using the memory_target parameter. Oracle recommends using automatic memory management to simplify memory

Detailed description of switch and restricted status and read-only status between Oracle startup Modes

Use the Alter Database statement to switch between startup modes.1. switch from NoMount mode to Mount mode (not from mount to nomount): Command: alter database mount; 2. when the DATABASE status is closed, switch to the Open mode command: alter

Solution to accidental deletion of oracle log files

Solution for accidental deletion of oracle log files: oracle log files are deleted (mainly for those software such as 360 security guard, QQ computer manager, and Kingsoft guard that use logs as garbage, when using them, be careful, or remove the

Oracle LISTENER does not listen to oracle instances. Problem solved

Oracle LISTENER does not listen to the oracle instance. Solution: LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521 ))) www.2cto.com (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST =

Total Pages: 2147 1 .... 1195 1196 1197 1198 1199 .... 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.