1. Login CDB to create PDBsqlplus / as sysdbacreate pluggable database pdb4admin user pdb4 identified by pdb4file_name_convert=(‘/u01/app/oracle/oradata/cdb/pdbseed‘,‘/u01/app/oracle/oradata/cdb/pdb4‘);2. Concrete steps $sqlplus/as
Specifically tested under Windows R2 under the Oracle 11g, Service Manager database service, ORACLESERVICE+SID service: Start service =startup; stop service =shutdown immediate; Restart service = Shutdown immediate, then startup; If the Oracle.exe
1. Check that the partition has no dataSelect /* * /Count (1 from zj2_gridlevsta_cell_all_571 partition (sys_p16805) A--where a.p_day=to_date ('20171231','yyyymmdd') ;2. If the partition table has a primary key, increment the column, deleteALTER
Oracle display Chinese garbled under Linux1.Oracle Database garbled Reason:The operating system is consistent with the server, but the client and server character sets are inconsistentThe client is consistent with the server, but the operating
Unzip the installation package, and then double-click SetupInstallation Type: Enterprise Edition, the most complete feature. The ORCL database is created automatically. Enter the password for the ORACL administrator. User name is sys ...The first
How to handle online log loss in oracle databases
How to deal with Oracle database online Log File loss [@ more @]
Sqlplus/nolog
Connect sys/sys @ denglh as sysdba
Alter system set "_ allow_resetlogs_upload uption" = true scope = spfile;
Alter
Brief Introduction to Oracle materialized view and oracle Materialized View
Recently, due to a large number of queries and summaries, a temporary table of oralce was used. However, due to the characteristics of the temporary table, the service
Solution to the problem that scott does not exist in the Oracle12c database, oracle12cscott
-- Log On As a super Administrator
CONN sys/change_on_install as sysdba;
-- Create a c # scott user
Create user c # scott identified by tiger;
-- Authorize
Transaction ACID (reproduced), transactionacidTransactionSource: Huang Yong
TransactionThat is, the so-called transactions. A general understanding is one thing. When we were young, our parents taught us how to do things from beginning to end. The
Orcale adds, modifies, and deletes fields. orcale adds and deletes fields.
1. Add a field
Alert table user add (userName VARCHAR2 (255 CHAR ));
The SET field is not blank and the default value is given.
Alert table user add (userName varchar2 (25
Precautions for Oracle SQL scripts and oraclesql scripts
1. "/" cannot be added at the end of the create TABLE statement. For example, the following error occurs:
Create table LTXGL10_bak2 (ltxgl1000 VARCHAR2 (36) not null, a00 VARCHAR2 (36),
Views and modifies the oracle character set, and explains how to view the oracle version.
1. view the database Character Set
Database Server Character Set select * from nls_database_parameters, which is derived from props $ and represents the
Oracle create tablespace and user code tutorial, oracle build code tutorial
Oracle creates tablespaces and users
Step for creating a tablespace and a user: create user username identified by "password"; Authorize: grant create session to username;
After the ORACLE11g system is reinstalled, follow the dbf recovery database tutorial, oracle11gdbf
1. install an oracle environment consistent with the original system, including version, data name sid, Instance name, path, and database code
2.
Solution to Oracle user locking
1. log on to and unlock the account with the dba role. First, set the specific time format to view the specific time.
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24: mi: ss ';
Session altered.
2. view the
Based on the Oracle multi-database query method (SHARE), oracle database query and sharing
This article describes how to create a database link to implement cross-database ORACLE query.
1. Configure the tnsnames. ora file of the Local Database
Explanation of Oracle flashback (required). Explanation of oracle flashback is required.
Oracle 9i began to support flash back, Oracle10g began to fully support the flash back function, Oracle11g has been improved, providing a great way to quickly
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