The first part of Oracle Learning1.oracle Introduction1.1 Common database classification at presentSmall database: SQL Server,access (Microsoft)Medium database: MySQL (Swedish company), Sybase (US Sybase)Large database: Informix (IBM), Oracle
I always thought that Oracle would only lock in the data that needed to be modified, but in parallel, the parallel update would lock the whole table, the following experiment:Session1:Sql> select Sid from V$mystat where Rownum=1;Sid----------11Sql>
Install with previous version of the database, the installation directory selection is the same as before.
Turn off all services from Oracle.
Copy the database folder from the original Oracle_home directory to the current directory (it is a
--Initialize datadrop table test Purge;CREATE TABLE Test as SELECT * from Dba_objects;Delete from test where object_id is null;ALTER TABLE TEST ADD constraint pk_test_object_id primary key (OBJECT_ID);CREATE INDEX ind_t_object_name on test
Oracle data import and export imp/exp is equivalent to Oracle data restore and backup. The EXP command can export data from a remote database server to a local DMP file, and the IMP command can import the DMP file from a local to a distant database
First, the use of imp/exp. Pilot out the source library, then create a new library to create a table space, and then import. (this is said to be possible, provided that the new library cannot have a tablespace with the same name as the Source
1. BackgroundIn the Leting project, engineering colleagues put forward the need for docking vehicle GPS reporting points, can be real-time to determine whether the point falls in the Leting administrative region. If not, alarm it.Processing ideas
1. Compare Hard parse:Sql> CREATE TABLE T as select * from Dba_objects;The table is created.Time used: 00:00:00.92Sql> Set Linesize 1000Sql> set Autotrace onSql> Set Timing onSql> Select COUNT (*) from T;COUNT (*)----------79691Time used: 00:00:00.24
Export oracle comments and oracle comments
Indicates that a user has a comment + Table comment + field details + field comment
select ATC.OWNER, atC.TABLE_NAME, utc.comments, ATC.COLUMN_NAME, ATC.DATA_TYPE,
The SQL query result set is sorted by specified conditions.
Oracle considers null to be the largest.
Sort in ascending order. By default, the null value is placed behind.
Sort in descending order. By default, the null value is ranked first.
There
How Does Oracle Randomly Read values from a specific combination?
Here, we will use the DBMS_RANDOM package and the case when statement as follows:
1. Use the DBMS_RANDOM.RANDOM function to randomly generate a value and then modulo the value. If we
Oracle Database beginners opening
Preface:
For project reasons, I recently started to learn Oracle databases. Oracle is currently one of the most popular databases, with powerful functions and excellent performance. It is relatively difficult to
[Book Reviews: Oracle query optimization and rewriting] Chapter 4: book reviews oracle
[Book Reviews: Oracle query optimization and rewriting] Chapter 4
BLOG document structure
I. 1 Guide
After reading this article, you can master the following
Solution to ORA-12560: TNS: protocol adapter errorsThere are three reasons for the problem that caused the ORA-12560: TNS: protocol adapter error:1. The listening service is not started. On the windows platform, perform the following operations:
Precautions for modifying the operating system on the Oracle Database Server
Precautions for modifying the operating system on the Oracle database server:
For standalone or ha1. There is no impact on the database itself. Because scn does not
Oracle Random Number Generation Method
Dbms_random is a package that can generate random values or strings.
Dbms_random.value Method
1. Decimal (0 ~ 1)
Select dbms_random.value from dual;
2. decimal places in the specified range (0 ~ 10
How to use the analysis function to find the employees with the highest salaries in each department in the EMP table? The function is emp.
The EMP table is an employee table in SCOTT, an Oracle test account. First, let's take a look at the data in
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