Oracle_base: Specifies the top-level directory of Oracle software.
Example:/u01/APP/Oracle
ORACLE_HOME: Specifies the installation directory of Oracle software.
The recommended directory for ofa is $ oracle_base/product/release.
The premaredstatement.exe cutebatch method calls a void executeforrows method at the underlying layer for execution. They are very lazy. to reuse this method, they lose the returned value, therefore, you cannot know what the current statement
Scripts for querying Oracle hidden Parameters
Oracle10:59:23 Read55 Comment0 Font Size:LargeMediumSmall Subscription
I can't remember it all the time. Stay and forget it :)
You need to log on with the Sys user to view two views:
X $ ksppi
I,Security guardPL/SQLAnd then begin(Plsqldev902.rar).
II,PendingInstantclient-basic-nt-11.2.0.3.0.zipCopy slaveDAnd the solution is as follows:Oracleplsqlconn.
III,PendingNetwork.zipResolveOracleplsqlconn.
IV,OpenPL/SQLAnd then openPL/SQL,
First, let's take a look at the definition of schema and user:A schema is a collection of database objects (used by a user ).Schema objects are the logical structures that directly refer to the database's data.A user is a name defined in the
SQL> -- 1. query data used by employees SQL> select * from EMP; SQL> -- 2. query the salaries of employees whose job is "President" SQL> select Sal from EMP where job = 'President '; SQL> -- 3. query the information of employees whose
I. Transaction Concept
Concept: transactions in databases are logical units of work. A transaction is composed of one or more SQL statements that complete a group of related behaviors, the transaction mechanism is used to ensure that the
After over a dozen or even 20 times of Oracle Installation, I finally installed a Complete Oracle on my computer and officially entered the Oracle learning stage. oracle caught a cold in Chinese. 1. the Installation File directory cannot contain
View
Database Object-View:
I. view definition: Logical Data Set extracted from the table
A) a view is a virtual table.
B) The view is built on an existing table. The view depends on the created tables, which are called base tables.
C) the
I,Stored Procedure:
A)Stored Procedures and functions are alsoPL/SQLBlock, which is stored in the dataPL/SQLBlock. However, stored procedures are stored and stored in the database in a named manner;
B)Advantages of stored procedures:
I.Stored
1. In the varchar2 format, ''is equivalent to null (no memory is allocated ).
Select 'aa from dual where ''is null
The result of this sentence exists.
2. logical judgment on null is not allowed in Oracle, and only is and is not can be used.
The installation of SDE10.1 is different from that of the previous version. Therefore, you must carefully read the installation documentation during installation.
Steps:
1. Before installing SDE, you need to ensure that the database is installed and
See the following SQL statement select t2. * from (
Select t. *, rownum as row_num from t where rownum IDAsc
) T2 where t2.row _ num> 10
OrderIDAsc
Because order by is executed after select during the query, In the first-level query, the result
Create or replace package tgatePack is
-- Author: GSL
-- Created: 2007-06-01 10:30:24
-- Purpose:
-- Public type declarations
Type rDataSet is ref cursor;
-- Public function and procedure declarations
Procedure GetAlarmVehicle (p_id alarm_data.id
The database listening service is dynamically configured and static.
Preparations:
1. create necessary Directories
2. Prepare the init. ora file.
3. Prepare the database creation script
Oradim-delete-sid dbname
Set oracle_sid =
FourthPurpose:Master the two different methods for moving data files and understand the application scenarios of these two methods. Master how to create a tablespace and understand how to use the OMF mechanism to facilitate DBA.Measure the test
Code
(Reprinted)
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Add to favorites the original oracle deadlock killing Process
First, check which tables are locked.
Select B. owner, B. object_name,
Recently, we need to optimize the efficiency of the Oracle database, and then check a lot of efficient methods on the Internet to determine whether the record exists.
There are many suggestions for the first method on the Internet. I did a test, but
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