*sql optimization based on ORACLE11GR2 reading notes * Third, cursor in OracleThe cursor in Oracle is a vector of SQL parsing and execution in an Oracle database and is a data structure for C (Oracle is written in C).There are two types of cursor in
1.1.1 Summary Join is one of the important operations of the relational database system. Common Join Operations in SQL Server include internal Join, external Join, and cross Join. If we want to obtain data from two or more tables that matches rows
-- Exception test declarev_ename EMP. empno % type; -- defines the variable beginselect ename into v_ename from EMP where empno = & gno; dbms_output.put_line ('name: '| v_ename ); exception when no_data_found then dbms_output.put_line ('unfound');
1.1.1 Summary
If we want to optimize the database, we can optimize the database system using the following five methods.
1. Computer hardware optimization2. Application Optimization3. Database INDEX OPTIMIZATION4. SQL statement Optimization5.
Today when you do the project to achieve paging functionality, previously only on MySQL, Oracle has not tried, but know that there is such a rownum this thing.
But this thing is not so easy to use, there are quite a lot of places to pay
Oracle's classic Oracle books:
Oracle High performance tuning for 9i and 10g by Gavin Powell
Book Description
There are three parts to tuning a Oracle database:data modeling, SQL code tuning and physical database configuration.
A data Model
Server|web Summary: This article describes how to use the XML features of Microsoft SQL Server 2000 to provide existing stored procedure Code as a Web service.
Directory
Brief introduction
Existing code in SQL Server 2000
Summarize
Brief
1. First Look at the sample table: Oracle, Scott's two sample tables SQL codeCREATETABLEEMP (EMPNO number (4), ename VARCHAR2 (byte), JOB VARCHAR2 (9 byte), MGR Numbe R (4), HireDateDATE, SAL number (7,2), COMM number (7,2), DEPTNO number (2))CREATE
Acid:atomic, consistent, Isolated, durable
The store program provides an excellent mechanism for defining, encapsulating, and managing transactions.
1,mysql Transaction Support
1 The MySQL transaction support is not tied to the MySQL server itself,
Creating an index is the establishment of an index on one or more columns of a table to increase the speed of access to the table. There are 3 ways to create an index, the 3 ways to create an index when creating a table, to create an index on a
Oracle batch export Stored Procedure Method 1: PL/SQL tool export Method 2: SQL code SET echo off; SET heading off; SET feedback off; spool C: \ Documents and Settings \ Administrator \ Desktop \ proc. SQL; -- 1. If the sys user is used, use the SQL
Mysqltimestamp and int storage time bitsCN.com
Mysql timestamp and int storage time
SQL code
Show create table 20130107 date;
Create table '20301_date '(
'Id' int (11) not null AUTO_INCREMENT,
'C _ date' timestamp not null default
Mysql statement for creating a new user bitsCN.com
Mysql statement for creating a new user
First, log on with the root permission
Create User
SQL code
Create user username identified by 'password ';
This user can log on to the database
PHP How to query a month or a day with data and output (article archiving function)
With Articles table
ID Class title Content Pubtime
1 10 Title 1 content 1 1342756599
2 11 Title 2 content 2 1339392385
3 12 Title 3 content 3 1339390661
4 10 Title 4
1.1.1 Summary
Join is one of the important operations of the relational database system. Common Join Operations in SQL Server include internal join, external join, and cross join. If we want to obtain data from two or more tables that matches rows
That is to say, if versionid on the left is null and only simple association is used, the row whose versionid is null cannot be found and must be connected through left or right connections. -- Create Table Table1, Table2: Create Table Table1 (ID
PDF browse: http://files.cnblogs.com/JimmyZhang/Linq-To-Sql-Part_3-Querying-our-Database.pdf
Source:LINQ to SQL (part.3-querying our database)Glossary
Built-in: built-inClause: ClauseDebugger: DebuggerObject Relational er Er: object link erORM
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.