Prepare two devices, take my example a source ip:192.168.3.66 and a duplicate ip:192.168.3.771 "Copy the database based on the backup set, the directory structure is the same (Active database network)1. Check the duplicate to see if there are any
Conversion Functionsstring , values and dates can be converted between three types of data .
No.
Name of function
Meaning
1
String To_char ( column | date, format )
Convert a date or number to a
Oracle Functions Sys_connect_by_path DetailedGrammar:Oracle functions: Sys_connect_by_path is primarily used for tree queries (hierarchical queries) and multi-column career change. The syntax is generally:Select ... sys_connect_by_path (column_name,
1.create user username identified by password;//username and password Oracle, Oracle2.grant CONNECT,RESOURCE,DBA to username;//authorized Grant CONNECT,RESOURCE,DBA,SYSDBA to username;3.connect username/password//entry.4.select
After each database upgrade, the objects in the library need to be recompiled. Here's a script that can be compiled in batches to compile these defunct objects in a single execution. It is important to note that because of the permissions problem,
Download Oracle Instantclient_11_2 and PlsqlExtract Oracle Instantclient_11_2 to any directoryCreate a new network in this directory, create a new admin in the network directory, and in the installation directory from OracleCopy the Sqlnet.ora and
4 . Stored procedures and triggers:Example 7-1: (stored procedure) creates a stored procedure that shows the total number of students.SetServeroutput onCreate or Replace procedureStudent_count asP1 Number(3);beginSelect Count(*) intoP1
ToolsutilThe number of records displayed per pagepublic static final int num_per_page=5;/** Java.util.Date Turn Java.sql.Date*/public static Date Utildatetosqldate (Java.util.Date d) {Date date = new Date (D.gettime ());return date;}public static
Oracle Notes (10) constraintsAlthough the table is completed, but the data in the table can not be checked, and if you want to do some filtering for the data in the table, it can be done by the constraints, the main function of the constraint is to
This project is an Oracle small data volume migration process share of the CDC, and the results are not displayed. Migrating data is divided into the following steps: Divided into the following five parts:
Source Database Library
--In the native example:--Global database name: Muna--sid:haha--User: Znn (permission Connect, RESOURCE,DBA)--Table space: Haha_data and temporal tablespace haha_temp--Oracle has two built-in users: System and SYS--Querying all users in the
Oracle replication database, oracle Database
Prepare two devices, for example, one source ip Address: 192.168.3.66 and one duplicate ip Address: 192.168.3.77.
1. Copy the database based on the backup set, and the directory structure is the same
11G R2 RAC add listen, 11gr2rac listen
The procedure is as follows:
Check the network number of the default network, in the red font of 1. It will be used to add a listener later:
[grid@rac121 admin]$ srvctl config networkNetwork exists: 1/10.1.252
[20171120] 11g select for update skip locked.txt, 20171120locked.txt
[20171120] 11g select for update skip locked.txt-- // 11g when the select for update encounters a blocking, you can skip the blocking record through skipped locked. Let's test the
Oracle 12c implements manual database creation instead of CDB and CDB creation.
Preface
I believe everyone knows that for Oracle DATABASE creation, apart from dbca (GUI interface), Oracle also supports manual DATABASE creation, that is, using the
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