Reasons to write this blog:Often in some operations development technology Exchange Group to see some people ask some questions about Oracle (DBA Novice or the operation of the restoration), but few people answer such questions. Problem:1.1) + How
Gets the string substr (string, start_position, [length]) that specifies the starting position and length in the stringSuch as:Substr'This is a test',6,2) wouldreturn ' is'substr ('This is a test',6) wouldreturn 'Is a test'substr ('techonthenet',-3,3
Liu Bei, for his later brain is not bright when you can find a place to flip.The first part of the export of Oracle data1. Database address and account password:Database address: 10.10.10.132Account Password: oracle/oracle2. Log in using
Oracle installed on the CentOS system, the system disk space itself is not very large, after running a period of time to find that Oracle's temporary tablespace occupies a larger disk, so that the system is on the edge of the crash, the method to
Create userOverview: In Oracle, to create a new user using the Create USER statement, you typically have DBA (database administrator) permissions to use.Create user username identified by password; (Oracle has a problem, the password must start with
In the case of C # access to the Oracle database, the Oracle client must be installed, and the same version of the server must be installed, otherwise there will be incompatible issues with various versions, so many times we do not need to install
1. Build table SpaceCreate tablespace table space nameDataFile ' D:\app\Administrator\oradata\orcl\ABC. DBF 'Size 100M autoextend on next 50M extent management2. Build UsersCreate user username identified by passwordDefault Tablespace table space
The star is wide, the moon Chant River, is with colleagues bragging blow, the boss came, cough a sound. Everyone immediately quiet, each back to you, do each thing.I just sat down and the boss came to me. There is a built library of live, time is
Go from http://www.cnblogs.com/252e/archive/2012/09/13/2682817.html query and delete duplicate record SQL statement 1, find redundant duplicate record in table, Duplicate records are based on a single field (ID) to determine select * from table
1. If you have permission to delete a user, you can:Drop user user_name cascade;Add the cascade can delete the user data.Delete and then create the user.--Create an administrator userCreate user username identified by password default tablespace
This is because the Oracle database requires a commit after updating the data, or it will jam, and it will get stuckAfter each call to Executeupdate (), the database will be automatically commit.My base class adds a bit, note the Red font part code:/
Operator arithmetic operators: +-*/You can use the Join operator in a SELECT statement: | | select deptno| | Dname from dept; comparison operator:> >= =! = Oracle Add Field Syntax: The syntax for adding a field: ALTER TABLE tablename Add (column
This theme green/colorEnd of function Be sure to return a value that matches the declaration using the return statement--Syntax:Create[or Replace] function [(parameter list)]Return data typeIs|as (is or as is fully equivalent)[local variable
How to connect Oracle databases in C #I. About the operation of the database1. Database connectionThere are 2 kinds:The first: The old method (more rigid, not conducive to flexible operation), that is, with the OracleConnection class to
Multi-Table QueryL Cartesian product : N*mL use associated fields to eliminate redundant data from the Cartesian product :
SELECT emp.*,dept. Dname,dept. LOC from EMP, DEPTWHERE EMP. Deptno=dept. DEPTNO;
Lmultiple table
Oracle Use Java source Calling external programsDemandOracle calls third-party external programs. Oracle uses SQLULDR2 to quickly export large quantities of data and then use WinRAR to compress and send messages.Original codeJava sourceCreate or
Chapter II Application of Oracle database2.1 Table space and user Rights management2.1.1 Table Space2.1.1.1 Classification:Permanent Table SpaceTemporary table spaceUndo Table SpacePurpose of the 2.1.1.2 table spaceAssign different spaces to
This is a 7788-piece:": =" is an assignment statement such as: l_name: = ' sky ';"=" is the determination of equality. such as: if 1=1 then ...":" is a variable binding such as: if:P _name = ' sky ' then ...Variable binding refers to the use of
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