Features of Oracle architecture data
Content of Oracle architecture data
What can I do after I finish learning?
What preparations do I need to read this document?
How to read this document
Features of Oracle architecture data
This document
Shutdown has four parameters: Normal, transactional, immediate, and abort. If no parameter is specified by default, the value is normal.Shutdown normal: do not allow new connections, wait for the session to end, wait for the transaction to end, make
Solution to the loss of tablespace In the Oracle9i rollback segment:
Example of restoring a database with implicit parameters:
The procedure is as follows:
First, change the automatic management in the initial init. ora file to manual
This document uses system. data. oracleclient mode, which is provided by Ms using ADO.. net. Oracle also has an ORACLE data provider. net (ODP. net.
When accessing Oracle, the client (or Web Server) needs to install an Oracle client, which is a
1. Minute by rowidSelect * From t_xiaoxi where rowid in (select rid from (select rownum RN, rid from (select rowid RID, CID from
T_xiaoxi order by cid desc) Where rownum 9980) order by cid desc;Execution time: 0.03 seconds2. Score by Analysis
1. ListeningStart listeningLSNRCTL startStop listeningLSNRCTL stopView listener statusLSNRCTL status
2. StartEnterSu-OracleRun the sqlplus command to enter the sqlplus environment. The nolog parameter indicates no logon;Sqlplus/nologEnter in
This method can be used when you forget the password of a user in the Oracle database.
Please use it with caution !!! To avoid unnecessary losses.
Sqlplus/nologConnect sys/youroracle as sysdbaAlter user system identified by newpwd;Connect system/
Can PLSQL connect to the server remotely? I want to install the client. I remember what SQL deveplore or other tools I used before. I don't need to install the client, and it comes from the green software. I just thought, I must do it, you don't
OracleExecute SQL bat Connection database statement in batches
First, create a text file and write SQL
Code
Sqlplus Scott/tiger @ zlkj_kk @ runsql. SQL
Sqlplus Scott/tiger @ zlkj_kk @ runsql. SQL
Save the file and change the
I. Concepts of relational databases
1. The value of the primary key cannot be changed.
2. Foreign key: a field pointing to the primary key or unique key of another table or table. The foreign key value must be the same as a primary key or be
This function can split the "target string" with "specified string" and return results through the table structure.CodeAs follows:
Create or replace type Str_split Is table of varchar2 ( 4000 ); Create or replace Function Splitstr (p_string
SQL trace is mainly used to monitor the SQL of databases and monitor and adjust the applications acting on data at any time.Program. For example, the ERP system has many application interfaces and involves many underlying operations. If you want to
DDL
Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:
Create-to create objects in the database
Alter-alters the structure of the database
Drop-delete objects from the
Directory
Q1. how to create a table?
Q2. how to delete a table?
Q3. how to create a view?
Q4. how to delete a view?
Q5. how to add fields to a table?
Q6. how to delete a field in a table?
Q7. how to add constraints to a field?
In the object-orientedProgramming LanguageHas been emphasizing the interface or abstract class programming, and the interface has been the key research object of the major design patterns, the actual proof that the interface is indeedProgramDesign
Recently, a project was created to improve database security. The customer asked all database operations to be stored in the stored procedure. It is easier to return a value for an update operation. However, if you want to return a record set, it is
This article is an example of sending an Email through Oracle10g. Procedure supports Chinese emails, HTML code, and multiple recipients.
In Procedure, p_receiver is the recipient address. Multiple recipients are separated by commas,
P_sub is the
Course 1 PL/SQLBasic query and sorting
Highlights of this course:
1. Write the SELECT statement for database query
2. perform mathematical operations
3. process null values
4. Use the alias ALIASES
5. Join Columns
6. Edit the buffer in SQL plus and
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