Because the company's database uses Oracle, the operational data is now switched to Oracle. I am responsible for the processing of some website data, so I use oledb to connect to the data in the header. This is done by modifying and referencing the
Type ID
Description
Number
Number Type
Int
Integer
Pls_integer
Integer type. An error occurs when overflow occurs.
Binary_integer
An integer that represents a signed integer.
From: http://www.cnblogs.com/ruanbl/archive/2008/02/29/1086398.html
Extract extracts and returns the value of a specified datetime field from a datetime or interval value expression.The field you are extracting must be a field
I used to use AR to access SQL Server and work well. recently, I switched my database to Oracle 8i. I encountered several minor problems when using AR for access. Now I want to provide the Problem description and solution, and hope to provide some
OracleOptimizer Introduction
This article describes the concept, working principle, and usage of the Oracle optimizer, taking into account Oracle8i, 9i, and the latest 10G version. Understanding this article will help you perform SQL optimization
1. Create a tablespace
Create tablespace ccpbs datafile '/home/Oracle/bossdata/ora_data/ccpbs_index01.dbf' size 100 m reuse default storage (initial 5000 K next 5000 K pctincrease 20 );
2. Create user
Create user osuser identified by osuser; //
Oracle RAC involves many processes, and the log directory structure of each process is also very complex. If you do not know the startup sequence and relationship of each process, and the location of the corresponding process log, it is very
Environment: VM + redhat9 + oracle9.2
1. Modify/etc/oratab content
Oracle_sid:/u01/APP/Oracle/product/10.2.0/db_1: N is changed to the following content:# Add below content# $ Oracle_sid: $ ORACLE_HOME:
Remember to write something at school
Program When the database is used, as long as the function can be completed, no performance issues are considered at all, after the development of two large projects, I realized that the importance of database
1. Basic Structure Create or replace procedure(Parameter 1 in number,Parameter 2 in number) IsVariable 1 integer: = 0;Variable 2 date;Begin
End stored procedure name
2. Select into statementSave the result of the SELECT query to a variable.
The connection string used to connect to the Oracle database in C:
var connectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
(HOST=192.168.115.33) (PORT=1521)))(CONNECT_DATA=(SERVICE_NAME= testDemo)));
User
Oracle SQL FunctionsOracle SQL functions are divided into single-row and multi-row functions. A single-row function is only valid for a single record. A multi-row function is valid for multiple records.Single-line functions include: characters,
The purpose of the Union command is to combine the results of two SQL statements to view the query results you want.
For example:
Select date from store_informationUnionSelect date from internet_sales
Note: In Union usage, the Field Types of the two
Directly call the stored procedure in Oracle to complete the paging of the table. The code is highly closed and efficient. The following is the C # paging code, including the Oracle database.
PLSQL code of the stored procedure.
// Program call
First let's talk about my notebook configuration: CPU: i3-2310M/memory: 4 GB (actual 2.95gb available because it is a 32-bit System)/graphics: GT 550 m (Display memory 2 GB) /Hard Disk: 500 GBWhen only Vs and SQL Server are installed, the startup
The latest project will be cascaded with the data generated by Oracle, marking:
Database:Our project: SQL2000 (independent server -- win2003)Customer: Oracle 9i (independent server -- win2003)Requirements:When the specific data in our project
It took another morning to configure this item and write it to reduce your detours. My environment is WINXP SP2 + python2.4 + Oracle 8i.
[1] first download the driver: (cx_oracle)Http://www.python.net/crew/atuining/cx_Oracle/But pay attention to the
Utl_file.fopen in the utl_file package provided by Oracle is responsible for opening a file.
Utl_file.fopen (location in varchar2, filename in varchar2, open_mode in varchar2) return file_type;Location is the path parameter,Filename is the file
Sqlplus autotrace is a simple and convenient tool for analyzing SQL Execution plans and execution efficiency. In most cases, it is also a very useful tool. The SQL Execution Plan and execution status provided by the autotrace tool can provide the
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