Study of Oracle Lesson One

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

A misunderstanding of Oracle parallelism 2--actually locks the whole table

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>

Automatically generated statements that are partitioned by day when Oracle builds tables

chr

DECLAREV_sqlVARCHAR2( +); V_sql_headVARCHAR2( -); V_sql_tailVARCHAR2(Ten); V_dayVARCHAR2(8); CURSORC_cur is SELECTTo_char ((To_date ('2012-01','yyyy-mm')+(ROWNUM- 1)), 'YYYYMMDD') S_date fromDUAL CONNECT byROWNUMLast_day (To_date ('2012-12','yyyy-mm'

oracle11g Database recovery After reinstalling the system (original Oracle installation directory is still in)

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

Modify the field order of Oracle

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

[Oracle] implements map matching in the database

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

Oracle 11g DROP TABLE rear flash back

--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

How Oracle implements random reading of values from a specific combination

abs

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 IMP uses

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

Password forget, modify Oracle database Password

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,

Oracle Modifying Tablespace methods

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

Oracle's Stuff.

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

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 errors

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

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

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,

Modify tables, add columns, delete columns, and modify columns in oracle

Modify tables, add columns, delete columns, and modify columns in oracle1. Add ColumnsAlter table table_name ADD (column datatype [default expr] [, column datatype...]);For example:SQL> ALTER TABLE emp01 ADD eno NUMBER (4 ); 2. Modify column

Summary of basic Oracle functions and object examples

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

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

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,

Total Pages: 2147 1 .... 2037 2038 2039 2040 2041 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.