You need to delete the foreign key and primary key first, and store data by creating temporary fields (to reserve the customer's original data ), finally, re-establish the primary key and foreign key 1. Delete the relationship between the primary
COL command:
It mainly formats the display of columns.
This command has the following options:
COL [UMN] [{column | expr} [option…]
The Option can be the following clause:
ALI [AS] alias
CLE [AR]
FOLD_A [FTER]
FOLD_ B [EFORE]
FOR [MAT] format
HEA
2 tablespace
The maximum logical layer in Oracle disk management is the tablespace. The four tablespaces that must be created in Oracle11g are SYSTEM, SYSAUX, TEMP, and UNDOTBS1.
2 SYSTEM: stores data dictionaries, pl/SQL code, etc.
2 SYSAUX: stores
1.1. ASM: PRCR-1079
An error occurred while starting the ASM listener.
Error cause:
The LD_LIBRARY_PATH variable is not configured. As a result, oraagent. bin cannot find the library file.
Solution:
Configure the LD_LIBRARY_PATH
Description:Decode (condition, value 1, return value 1, value 2, return value 2,... value n, return value n, default value)
The function has the following meanings:Copy codeThe Code is as follows:IF condition = value 1 THENRETURN (translation value 1
I have been wondering why the character set of the database is consistent with the character set of the client, but when the database is inserted into the table, it becomes garbled. Today I saw a predecessor in the group explaining this problem,
1. pl/SQL cannot connect to the local oracle (ORA 12154: TNS: the specified connection identifier cannot be resolved)
Solution: pl/SQL cannot be installed in the Program Files (x86) folder, and must be installed in the Program Files folder.
2.
683. Your production database it f unctional on the SHOST1 host. Y ou are backing up the production
Database by using Recovery Manager (RMAN) with the recovery catalog. You want to replicate
Production database to anther host, SHOST2, for testing
The character set is accidentally not changed when the database is installed today (oracle10.2.0.4), leading to garbled interface because the rac environment is not the same as that of a single instance.Http://blog.csdn.net/rulev5/article/details/702
How to estimate the historical growth of oracle databases and database objects
----- Database growth in the last seven days. This is only an estimate.
Select sum (space_used_total)/1024/1024/1024 "last 7 days db increase-G"FromDba_hist_seg_stat
The 11g active data guard implements rman backup for the standby database, so that the database can be backed up without affecting the external services of the primary database. The test is as follows:
SQL> select OPEN_MODE, PROTECTION_MODE,
1. Select WINDOW> display View> other. The following window is displayed:
The content in this window is as follows (the following content is critical ):
Currently, ORACLE9I is installed in the default directory. Therefore, the JDBC
Recently, we tried to upgrade our company's DataWit Business Intelligence System ETL tool to test the support capability for Oracle Database 12c. Therefore, we need to establish a test environment.
I remotely install the Oracle DB 12c database to a
When using Oracle9i, oracle's task scheduling is poor. Recently, I browsed oracle11g and felt that oracle had greatly improved its ease of use. It not only became very simple in terms of memory management, storage management, and SQL tuning, A
This ppt systematically introduces the memory and storage management of Oracle11g, the main directory is as follows:
1. Memory Overview:
-- SGA Parameters
-- Automatic Shared Memory Management
-- Oracle 11g parameter setting suggestions
--
Environment: AIX 5.3 + 10.2.0.5 RAC
Scenario Description: In a set of RAC, VIP2 of node2 can be abnormally moved to node1 and 2 cannot be transferred back to node2. at the same time, no fault is found on node2. Even if the server is restarted, VIP2
First, use PL SQL to establish A connection to the target database B in source database A. The statement is as follows:
Drop database link orclAB; create shared database link orclAB connect to TargetUserName identified by "TargetUser password"
Syntax for adding fields: alter table tablename add (column datatype [default value] [null/not null],...);
Alter table tablename modify (column datatype [default value] [null/not null],...);
Syntax for deleting a field: alter table tablename drop
Introduction to Library cache the main function of Library cache is to store SQL statements submitted by users and the parsing tree related to SQL statements (the parsing tree is the presentation of all objects involved in SQL statements ),
In 11g, oracle introduced a new feature: adaptive cursor sharing. This feature is mainly used to improve the execution plan of SQL statements with variable binding. It also causes SQL statements with variable binding to generate multiple cursors. 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service