Http://feelfall.blogspot.com/2007/03/oraclethinoci.html
YingThe connection to Oracle is divided into two modes: thin and OCI. The former does not require support from the Oracle client, and the latter requires.
JDBC: oracle: thin :@
Problem: a project is being developed today. It requires that when the slave block is saved, the field data of the master block changes and is saved to the database. Originally, it was assigned a value from the pre-insert trigger of the block. The
Instr usage in Oracle:The format of the instr method isInstr (source string, the string to be searched, starting from the nth character, to find the nth matching serial number)Returns the location found. If not, 0 is returned.For example, in instr ('
Note: use single-step debugging to identify errorsProgramStatement XXX dynamic link library not registered (The dynamic link library file is not registered or the class library of this method does not exist)
the object settings are not referenced
How is the Oracle service fee calculated?
According to Oracle's sales policy, taking oracle11g as an example, the current 11g price is: USD 800 per CPU; USD per user;If you purchase a server with 2 CPUs at $ 22% for deployment, the price is the
L
Test Case of transaction nesting
(1)
First, create a table:Create tables MSG (MSG varchar2 (100 ));
(2)
Then, create the sub-transaction Stored Procedure local.Create or replace procedure local is CNT number: =-1; -- global variables begin select
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;
A A zero space------------------------------------65 97
Nvl (expr1, expr2)Nvl2 (expr1, expr2, expr3)Nullif (expr1, expr2)Coalesce (expr1,..., exprn)Decode
-------- NvlNvl (commission_pct, 0)If the first parameter is null, the second parameter is returned.If the first parameter is not null, the first
The Oracle database software provides the following two scripts to configure automatic database startup and shutdown with the server:[Oracle @ prod bin] $ pwd/U01/APP/Oracle/product/11.2.0/db_1/bin[Oracle @ prod bin] $ LS-l DBS *-Rwxr-x --- 1 Oracle
Handlecollisions is a replicat process parameter, which is mainly used in initial load. When this parameter is used in the replicat processIf data integrity problems exist in the environment (such as missing rows or repeated insert operations during
Install goldengate ctor on Oracle Enterprise Linux 5.6 today. After JDK 1.6 and WebLogic Server 10.3.50 are installed, install goldengate Director server 11.2.1.
When the progress bar ends, an "unable to run-CdS-tool scripts file" error is reported,
Throughput Measurement
In the data replication environment, it is very important to measure the data volume replicated within a specified period of time. However, bandwidth is generally measured in Gbit/s. The type and quantity of measurement and
We know that different schemas on the same database server can search for a table or other objects, as long as the permissions are granted to the corresponding schema. But how can we read data between different database servers?
This requires dB
View trigger, instead
We know that if a view is composed of only one table, there is no limit on the operations on The View. if the view is composed of multiple tables, the unpdate, insert, and delete operations on the view will fail. but sometimes
Due to project requirements, the company needs to migrate the database of some projects to Oracle, and almost all of them use sqlserver. Suddenly, 2 ~ Three years of experience in SQL Server development and use has not actually brought me much
Use the wait interface in Oracle 10 Gb to diagnose performance problemsJohn is the database administrator of ACME bank, and the other end of the phone is the angry user bill. He complained that his database session was hung up. Most database
1. Set the initialization parameter job_queue_processes.SQL> alter system setjob_queue_processes = N; (n> 0)Job_queue_processes: the maximum value is 1000. View the Job Queue background processSQL> select name, description fromv $ bgprocess; 2.
When SQL Server is used, an auto-increment field is added and set as the primary key to avoid repeated records. Now let go of the advantages and disadvantages of doing so. Let alone implementation problems.
When oracle is used, this situation occurs.
The listener. ora, sqlnet. ora, and tnsnames. ora configuration files are all stored in the $ ORACLE_HOME/Network/Admin directory.
1. sqlnet. ora ----- is similar to the nsswitch. conf file of Linux or other UNIX. It is used to determine how to find
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