Upload the Oracle installation file to the Linux server first1. Unzip the zipUnzip Linux.x64_11gR2_database_1of2.zipUnzip Linux.x64_11gR2_database_2of2.zip2. Create the installation directoryMkdir/opt/oracle3. Create a user group:Groupadd
ORA-08002 appears: Sequence xxxxxxx.currval has not been defined in this process.Cause: Because it is the current value of the first query sequence, there is no value of the cache sequence before the memory, so you need to first queryThe next value
Sometimes write Oracle in the use of information such as cursors to loop processing logic, the exit, RETURN, continue is easy to confuse, the web search information is not very clear, so I wrote a small piece of code to test the three usage. The
SELECT A.areaname AS Level two place name from houses h,houses H2,Areas a WHERE H.areaid=a.areasid and H2.areaid=a.areasid and H.finalassessmentid=1 andH.houseslevel=2 and H2.houseslevel=1 and A.areasid!=a.parentareasid and a.companysid=2;SELECT *
1,oracle View:User view, which has been user_ as a prefix, and records information about the users ' objects;The all view, prefixed with All_, records the user object information and the object information that is authorized to access it.DBA view,
1. Attention PointsIn the process of querying, not determining the amount of data in the database table, first querying the data volume, the data volume is large, you can not directly query (SELECT * from EMP), if the data volume is large, direct
Today's study of Oracle encountered this problem ora-01033:oracle initialization or shutdown in progress, after the analysis of the study finally solved, write down a memorial. My library is Oracle 9i, specifically 90.First of all: the cause of the
Navicat for Oracle is primarily used for the management and development of Oracle databases, with an intuitive and powerful graphical interface that brings new experiences to Oracle database users. This navicat tutorial will illustrate the NAVICAT
This article summarizes Oracle's database management, with a focus on its physical storage section.Some SQL commands:Manually switch redo log file groups:Switch logfile;To add an online redo log file group:4 ('/oradata/log4a.log','/oradata/log4b.log'
Create a test tableCREATE TABLE Base_users(UserID VARCHAR2 (16),Username VARCHAR2 (32),passwd VARCHAR2 (16)) Tablespace Cat_data;In an insert-by-line wayCreate or replace procedure Insert_data_one_by_one (n in number)AsCurrentID Number (16): =
1. Cmd in DOS2. re -Enter DBCA (database create)3, pop-up interface, direct next , Select Delete Database4, after successful deletion, go back to a first interface, select Create Database , next.5. Select: Custom Database (new), next6 . Enter the
This question I let me engage in the most of the day, really irritating, words do not say, directly on the codeSELECT * (SELECT COUNT (*) from table_name C where c.bbs_id=t.id) as Plcount,//subquery plcount to sort virtual fieldsFrom table_name t
I. Related content1. Understand the concepts and types of indexes.2. Master the command to create the index.3. Understand the concepts and advantages of the view.4. Understand the features that updatable views should have.5. Master commands for
In Oracle, the control file is the file used when the database is mounted, the control file is lost or corrupted, and the instance crashes, where the parameter file records the location of the control file;After the instance starts to Nomount, if
To establish the tablespace and the user's steps:
User
Create:Create user username identified by "password";
Authorization:Grant create session to user name;
Grant create table to user name;
Grant create tablespace to user name;
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