Oracle adds, modifies, deletes, renames columns

Because Oracle has a slightly different format for adding and deleting columns, it is hereby documented for easy viewing later.1. Add Columns:Sql> ALTER TABLE t1 add y integer;Table AlteredExecuted in 0.046 secondsDescription: Added column format

Oracle Common Operations

Some of the operations that Oracle uses are documented:1. Steps to establish tablespace and User: User establishes:create user  user name  identified by  "password"; authorization:grant create  session to  User name;            grant 

Oracle Version History

1. Database in the project development, most of the use of Oracle, what 8i,9i,10g,11g, etc., has always been that the database version upgrade for the development of a system developer carcass, not what is important, I just focus on the database

Oracle User Password Management

Use profile for password restrictions. Oracle automatically establishes a profile called default when the database is established, and Oracle assigns the default to the user when it is established without specifying the profile option.(1) Account

Log system for Oracle RAC

Unlike databases, Oracle Clusterware has a rich view, tools to assist with diagnostics, and its log and trace files are the only choices. But unlike Oracle's only alert logs and several trace files, Oracle Clusterware's log system is more complex,

Installation and configuration of Oracle 11g client.

The database and the client are on different machines.Before installing, navigate to the following folder on the server where the Oracle database is installed.Change localhost in Listener.ora and Tnsnames.ora to the IP address of the machine, my 192.

Low Oracle Client version results in Bad SQL

Environment:Production system is an online user 10K OLAP system (11g RAC two nodes), one day the user unit found that the scanner is slow.View monitoring,Node1,io is high, heart rate is very highImmediately proceed to analysis:1. Original production

Table Space Creation for Oracle

Pctfree,pctused,initrans,maxtransPctfreeWhen a block's usage space reaches the 100-pctfree value, the block is detached from the free list. For example, Pctfree is 10, then when the block uses 90% it will be out of freeelist, and subsequent inserts

Oracle Static Monitoring Registration

Oracle Static Monitoring RegistrationThere are many articles on the internet about Oracle monitoring static registration, but most of them are simple to say, and there is no detailed example, here, will be combined with Linux AS4 under the Oracle

Oracle register Listener, change port

Static registrationChange the 1521 port in Listener.ora and Tnsnames.ora to 1421, it is very simple Dynamic registration2.1 Change the port in the Listener.ora file to 1421LISTENER =(Description_list =(DESCRIPTION =(address= (PROTOCOL = IPC)

Add annotations to tables, columns, and read comments in Oracle

Add annotations to tables, columns, and read annotations in Oracle1. Add notes to the table: Sql>comment on table name is ' table Comment ';2. Add comment to column: sql>comment on column table. Column is ' column comment ';3. Read the Table notes:

Oracle instance creation, deletion, boot start and add listener

are found on the Internet, the final collection together, the URL has forgotten which is, sorry to create an instance part of this would like to write a script, first of all, the script experiment successfully put up again. Delete Oracle Instance 1.

Oracle Database Experience Series---first

1) Change the date display type of the results queried in SQL developer in Oracle 11g R2, that is, the setting of the session date type:Alter session Set Nls_date_format = ' Yyyy-mm-dd HH24:MI:SS ';Oracle Plus fields:ALTER TABLE operator_daily Add

Oracle deletes duplicate data to keep only one

with the SQL statement, delete duplicates only keep one in thousands of records, there are some identical records, how to use SQL statements, delete duplicates1, duplicate records in the lookup table are judged by a single field (Peopleid) .Select *

Add Delete primary key in Oracle

This article transferred from: http://blog.chinaunix.net/uid-17079336-id-2832443.html1. Create a PRIMARY KEY constraint while creating a table(1) No namingCREATE TABLE Student (StudentID int PRIMARY key NOT NULL,Studentname varchar (8),age int);(2)

Oracle Rac 11.2.0.3 migrating OCR and Votedisk

Environment: aix7.1+oracle RAC 11.2.0.3Migration Description: Today in the installation of Oracle RAC, the wrong 500G data disk as a OCRDG, then later more trouble, only to speak OCR and Votedisk migrated to the new OCRDG, and DATADG deleted and

Check the script for the ORACLE warning File

Check the script for the ORACLE warning File Check the important information within two days: Vi alter_error.sh Echo "Check Alter Error: "cat $ TRACE/alert _ $ ORACLE_SID.log | grep-E ^ ORA-\ | Reconfig \ | abort \ | Shut \ | ^ Start \ | error \ |

The Oracle11g password is locked and reported to the ORA-28000theaccountislocked

The Oracle11g password is locked and reported to the ORA-28000theaccountislocked I. Reasons for triggering this error and Related Factors This is because "PASSWORD_LIFE_TIME = 180 days" is set in the default profile in oracle11g by default.The

Why didn't I hit Racdatabasehome during oracleraco patchauto?

Why didn't I hit Racdatabasehome during oracleraco patchauto?First explain the environment: OS: AIX 7.1Oracle version: Oracle Rac 11.2.0.3 before the release of the 11.2.0.3.9 Patch Set, Rac is not officially used, so simply hit the latest 11.2.0.3.1

Solve the Problem of connecting 32-bit plsql clients to databases without 64-bit Oracle11g

Solve the Problem of connecting 32-bit plsql clients to databases without 64-bit Oracle11gSince I installed 64-bit Oracle, plsql cannot be connected because it is 32-bit. There is a way to connect to the Internet; Download

Total Pages: 2147 1 .... 1478 1479 1480 1481 1482 .... 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.