The Oracle tutorial you are looking at is the renaming of the foreign key in the Oracle system table.
The foreign key of the table in Oracle is a means to guarantee the referential integrity of the system, while referential integrity refers to the
1, su–oracle is not necessary, suitable for use without DBA password, you can enter the Sqlplus interface without password.
2, Sqlplus/nolog or Sqlplus system/manager or./sqlplus system/manager@ora9i;
3, Sql>connect/as sysdba; (as Sysoper)
Oracle database is favored by more and more enterprises because of its high reliability, security and compatibility. How to keep Oracle databases in good performance is a concern for many database administrators and may be considered in the
--Note: This article only installed Oracle, and did not build a library
One: Install a READHAT4 system in the virtual machine
Two: With IP
After the following IP:
Third: Build user group, user
Note: Oracle users should have the same UID.
The Oracle tutorial being looked at is Oracle's method of establishing binary file indexes. Oracle text is Oracle's Full-text search technology and is part of the standard and Enterprise editions of the 9i edition. Oracle text uses standard SQL
CREATE OR REPLACE PROCEDURE PROC6338196642095312503719 (Enter the news subject VARCHAR2, enter the news content Varchar2, enter the publication time Varchar2, enter the current page number, Enter the number of rows per page, output the current page
This paper mainly introduces the differences between RowNum and ROWID in Oracle query, and takes the hypothetical way as an example, the query condition is rownum = 2, and the specific content of the first record is introduced.
In the query, we can
When Oracle database user's password contains special character Furu @, use normal password input directly, because Oracle resolves the character after @ to the network service name and causes the login to fail
The following demo user name is: Wang
For many occasions we use Oracle's column merges, Oracle provides some of the following ways to implement column merging:
Oracle 10G previously used wmsys.wm_concat:
Wmsys.wm_concat the value of the field with "," to separate it.
Select Id,
When executing a SQL query, in order to obtain the satisfied data, the query completes the parsing, binding, executing and extracting data in the process, such steps are performed separately, and the data rows that meet the conditions must be
Many friends who use other databases often make habitual mistakes when they go to Oracle databases, and this article summarizes some common Oracle code errors for everyone to compare.
1. INSERT statement written:
INSERT into T1 values (...)
An Oracle query without parentheses does not contain the specified characters in a record method as follows:
With tmp_t as (
Select 1 as ID, ' Test 4321_cs ' as name from dual UNION ALL
Select 2, ' Test 1200 (Beta) ' from dual Union
This brings a lot of benefits, but it also requires learning some new concepts, commands, usage, and management tasks. So before you put your production system in, look at what it solves, what it manages, and how it evaluates it.
Why did you create
Inner joins (inner join).
Outer joins:
Fully connected (full join), left join (left join), right join.
Cross join (cross join).
An outer join is not the same as an inner join, and the query results returned by an outer join contain not only rows
Copy Code code as follows:
Select A.f_username
From
(
SELECT/*+parallel (gu,4) */distinct Gu.f_username
From T_base_succprouser gu
where Gu.f_expectenddate > (select trunc (sysdate, ' Y ') from DUAL)
and gu.f_lotid=1
and
PHP Program Access to the database, you can use stored procedures, some people think that the use of stored procedures to facilitate maintenanceHowever, in this case, I think that using stored procedures means that DBAs and developers have to work
Indexing is a required option for a database, but for today's large databases, indexes can greatly improve the performance of the database, so that it becomes an integral part of the database.
Index Categories:
Logical classification
Single column
Today, I met a software requirement to install the Oracle client side, so I considered a compact version from the http://www.oracle.com/technology/software/tech/oci/instantclient/ index.html downloads Instantclient-basic-win32-10.2.0.4.zip, which
Produces a primary key value using a sequence.
A sequence (Sequence) is a database object that can be used by more than one user to produce a series of unique numbers. Sequence definitions are stored in the data dictionary, simplifying program
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