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
34th lecture 1. the no_data_found proposed last time will expire in update, because the manual only applies to select into when you must use update table set, select * w can be added to achieve the effect of using select *. 2. function, its
I,Basic SELECT statement
Select * from table name;
Slect field name from table name;
Select identifies which columns to select.From identifies from which table to select.
II,Note:
The SQL language is case insensitive.SQL statements can
The default number of connections in Oracle Xe seems to be 40. If the process exceeds this number, the request for a connection again will be rejected.
1. Log On with the System user:
Sqlplus system/password @ XE
2. Run the following command:
1. centos 6.4 desktop system, uninstall built-in java7 and other unused software, without OpenOffice and other office and entertainment software. After installation, yum update updates the system to the latest version and installs the Development
Stored Procedure Lecture: the following content was heard when I waited at the bus station in Ningbo yesterday. At that time, she fell in love with a girl (with a red coat and bright eyes) and finally sat down in Ninghai's car.
1.
Create
Failed to switch the last operation of DB Service (fail-over). The following results are obtained after the help of Oracle technical support personnel and the test environment is set up:
Command for creating a service:
Srvctl add service-D
Full recovery:
3. Recover the opened database (Database Failure Causes downtime );
Database shutdown due to media or hardware faults
Running in hours. The corrupted file does not belong to the system tablespace or rollback tablespace. For
Http://askubuntu.com/questions/55848/how-do-i-install-oracle-java-jdk-7
There is a similar question on how to install JRE 7. Install the JDK
Download he 32bit or 64bit Linux "compressed binary file"-it has a ".tar.gz" File Extension I. e. "[
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
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
Common Oracle database objects-Sequence
1. sequence: a database object provided by oacle for generating a series of unique numbers.
A) sequence features
I. The unique value is automatically provided.
Ii. shared object
Iii. Mainly used to
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.
Backup:
Alter Database Backup controlfile to 'xxxxxxx' reuse;Alter database bakcup controlfile to trace as 'xxxxxxx ';RMAN backup control file
Restore an instance: 1. Use binary backup for recovery after the control file is damaged
1. view the directory object of the data pump. The directory object is the file path stored when the data pump exports data:
SQL> SELECT * FROM dba_directories; OWNER DIRECTORY_NAME DIRECTORY_PATH-----------
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