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
First you have to have a PL/SQL, in fact, there is no line, but this database still has a visual interface for good AH.1. First, log on PL/SQL as the SYS user2. To find out the ID of the table you want to change, take my local data for example, I
The method to do the map match1 the algorithm proceduresFirst, we should find the most nearest road to the point from all roads in haerbin;Second, we should find the most nearest point-to-the-point from the road.For example, as Figure 1, we'll do
--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
Here, we will use the Dbms_random package and case when statement, the idea is as follows:First, the use of dbms_random. The random function randomly generates values and then models the values, and if we want to read them randomly in 10 elements,
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
1. Open cmd window, enter Sqlplus/as SYSDBA2, run CMD, enter the ALTER user username account unlock;3. Alter user name (System) identified by new password (m1234); Change Password (note: Be sure to enter the letter in the English input state,
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
Recently do the DRP project, can be the Oracle toss miserably, the first time installation of rough doomed after the temper, now I put these blood and tears of history are organized here, hoping to help you in Oracle's connection less detours, less
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
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:
Flashing back after oracle11gdroptable
-- Initialize the data drop 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 );
Basic knowledge about oracle Database 2
Oracle beginners series II
Basic Database knowledge
This article combs basic database knowledge that has been forgotten, and may not be remembered at all. In either case, remember it. If you cannot remember it,
Summary of basic Oracle functions and object examples
-- ## Character function, case-sensitive processing function select lower ('abcde') FROM dual; -- ABcDe, all converted to LOWER case select upper ('abcde') FROM dual; -- abcde, convert all to
Rownum, row_number (), and rownumrow_number in oracle
Row_number () over (partition by col1 order by col2) indicates grouping by col1 and sorting by col2 within the group, the value calculated by this function indicates the sequential numbers after
Oracle12c installation, connection, and usage
1. oracle12c Installation
See the following link:
Http://www.bkjia.com/database/201503/380453.html
2. A ORA-12514 error occurred while connecting to the database.
For more information about the solution,
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