When installing Oracle RAC 11g, set the environment variable oracle_sid of the two nodes under the grid user to + ASM1. After installing the grid infrastructure, the oracle_sid of the second node is not changed to + asm2, after you manually change
Today, our new employee installed oracle. Fortunately, he encountered an exception as mentioned in the installation process. The common solution is to check whether the installation path contains Chinese characters.Coincidentally, this brother
Varchar2 is a specific data type provided by Oracle. Oracle can ensure that varchar2 is compatible with the data type up and down in any version.Varchar is not recommended in Oracle.
The difference between nvarchar2 and varchar2 is that nvarchar2
Oracle 9i contains the XDB feature by default when creating a database. Once the database and listener are started, Oracle XDB includes HTTP and FTP services, listening to TCPPorts 8080 and 2100 conflict with the default ports 8080, such as JBoss
1. query a pack of Po:
Note that different payment conditions, currencies, and tax rates may generate a new po package.Copy the content to the clipboard program code select PLA. po_line_id,
Pla. po_header_id,
Pla. item_id,
Msib. segment1
Recently, a project was created on the database platform of Oracle, but versions from Oracle 8.1.5 to Oracle 9.2 were available. As a result, the selection of the Data Access Engine encountered some difficulties, I would like to sum up the following:
1. Create a file/etc/oratab
# Add the following content to the/etc/oratab file,
# $ Oracle_sid is the SID of your Oracle Database
# $ ORACLE_HOME is the ORACLE_HOME of your Oracle Database
# Y indicates that Oracle database is required to be started
Create global temporary table tablename (Col1 varchar2 (10 ),Col2 number) On commit preserve (delete) rows;
-- On commit Delete rows indicates that the temporary table is specified by a transaction. After each commit, Oracle truncates the table
Data conversion methods for data instances of different data character sets:
Problem:
The character set of an Oracle data instance is: us7ascii, american_america.us7ascii
Character Set of an Oracle data instance: zhs16gbk, simplified
Oracle Study Notes
1. Oracle Introduction
Select database standards
Project Scale
What is the load and the number of users?
Cost
Security
Oracle Certification
Beginner: OCA: Oracle certificated associate
Intermediate: OCP: Oracle
Oracle Table query
Premise: understand the meaning of several Scott tables.
EMP: employee table
Field
Type
Note
Empno
Employee ID
Ename
Employee name
Job
Employee
Transactions and built-in functions in Oracle
What is a transaction?
A transaction is used to ensure data consistency. It consists of a group of related DML statements. The statements in this group are either all successful or all failed.
For
1. Oracle Server is a data management system (RDBMS) that provides open, comprehensive, and almost perfect information management. Oracle is composed of an Oracle instance and an Oracle database.
The Oracle server consists of two parts: the Oracle
The server is Windows Server 2003. After the Oracle client is installed normally, when data is inserted, all Chinese characters are displayed ?.
Exception:
Enter select userenv ('language ') from dual in the PLL/SQL statement, and the result is
The view SYS. dba_free_space and SYS. dba_data_files must be granted the query permission on these two view objects.
-- Connect as sysdba
Grant select on SYS. dba_free_space to Forrest;
Grant select on SYS. dba_data_files to Forrest;
View
Step 1: Create a new test table as follows:
Create Table king(ID number (10 ),Name nvarchar2 (2000))
Step 2: Create a sequenceCreate sequence king_tb_seqMinvalue 1Max value 9999999999Start with 21Increment by 1Cache 20;
Step 3: Create a trigger
Oracle nested representation example (from: http://www.cnblogs.com/starzhao/archive/2010/05/19/1739234.html) ---- nested table: is to define the field in a table as a table, the data of this field table is stored in an external table,
For example,
I. Preparations
To integrate the above environment, you must first prepare the following software packages:
(1) database Perl Interface
1. perl5 Oracle dbi driver: DBD-Oracle-1.03.tar.gz
2. perl5 universal database interface program: DBI-1.13.tar.gz
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