Source: http://www.cnblogs.com/yangxia-test/p/3926501.htmlA. DownloadHttp://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html The following website source this official download page.Win 32-bit operating
We often have error handling in our proc program, and in error handling we often have to output error messages to help us analyze and resolve the cause of the error to correct the data. Sqlcode and SQLERRM will be used at this time.SQLCode: The
Oracle 12c Turn off statistics collection and enable statistics collection--Turn off statistics Col client_name for A60select client_name,status from Dba_autotask_client; Client_name STATUS-------------------------------------------------------
In the modern multi-user multitasking system, there will inevitably be multiple users accessing a shared object at the same time, this object may be a table, row, or memory structure, in order to solve the data security, integrity and consistency of
01. Table SpaceWe know that the Oarcle database really holds the data file (data files), the oarcle tablespace (tablespaces) is actually a logical concept, and he does not physically exist, so a set of data files will be a table space to twist
Copyfrom Https://www.cnblogs.com/zhaoguan_wang--1. Blocking and waiting for event information query--Query the status of all sessions, the wait type, and the SQL script that is currently executingSelect T.sid, t.serial#, T.status, T.event,
Oracle Transactions and Locks2017-12-13Directory1 Summary of database transactions1.1 Transaction Definitions1.2 Transaction life cycle1.3 Characteristics of Things1.4 Dead Lock2 Transaction-related statements2.1 Summary of transaction-related
First login to the administrator account, or a user with DBA authority, followed by:--Query All users SELECT * from Dba_users; --Create new users Create user gpmgt identified by GPMGT; --View all user tablespace Select
1th single-Table query 11.1 Querying all rows and columns in a table 11.2 Retrieving part of a row from a table 21.3 Finding a Null value 31.4 Convert null value to actual value 41.5 Finding rows that meet multiple criteria 51.6 Retrieving part of a
By creating a trigger to log user login, audit the logged-in user, record the login user, host, system users and IP address:1. Create a table in SYS mode that records the details of the client's login to the database
The usual functions for handling strings are as follows :
No.
Name of function
Meaning
1
UPPER (C1)
To capitalize all strings
2
LOWER (C1)
Convert all strings to lowercase
Advanced Query1. Related queriesFunction: Can be queried across multiple tables--Find out the name of the employee and the name of his departmentThe ancient notationSelect First_name,name from s_emp,s_dept where s_emp.dept_id = s_dept.id;The wording
From Oracle9i after the launch of the default initialization file is SPFile, we can determine whether it is spfile or pfile way to start the database in the following three ways.1. Show Parameter SPFile2. Show Parameter Pfile3. See V$spparameter
Because the Oracle database was previously on top of the server, the Oracle client was installed locally, and then PL/SQL was loaded.Recently, for some reason, you need to install the Oracle database locally, after installation, connect to the
Oracle 11.2.0.4bbed installation and configuration tutorial, 11.2.0.4bbed
1. Install bbed:
1. To install BBED in ORACLE 11g, copy three packages (sbbdpt. o and ssbbded. o) from ORACLE 10g.
Move the two files to the $ ORACLE_HOME/rdbms/lib/directory,
(Les05 ASM Instance) [1, 20180208], les0520180208Learning objectives description use the benefits of ASM to manage the creation and deletion of ASM instances extended ASM disk groups use various utilities to retrieve the benefits of ASM metadata for
Create and use packages for oracle Database SQL statements, oraclesql
-- Create a package
Create or replace package pkg_emp
As
Name emp. ename % type;
Procedure pro_emp (id emp. deptno % type, num out number );
Function fun_deptno (p_empno
Scott Account Login Failed, error ORA-01017: invalidusername/password; logondenied how to solve ?,
I had a headache for a long time while reinstalling the oracle database. If you are reading this article, it means you have encountered the same
SQL plus and plsql cannot be used to connect to the Oracle Database System for troubleshooting and cause analysis.
Database connection problems:
Sqlplus and plsql cannot connect to Oracle 11g Database system problems or sqlplus can be connected
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