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
ArticleDirectory
Use pseudo-column rownum
Use analysis functions
Use minus
Use pseudo-column rownum
Query the first 10 records
Select * From t_user t where rownum
Rank the first three records by student ID
Select * from
SQL Optimization
Oracle SQL optimization is a complex topic, and even requires the entire book to introduce the nuances of Oracle SQL optimization. However, there are some basic rules that every Oracle DBA must follow. These rules can improve 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
Note: [Oracle problem set] refers to the problems and solutions encountered by bloggers during database operations.
Statement execution: indicates the database operation process.
Error: Indicates An error occurred while operating the database.
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
A medium-sized or large company is often composed of geographically dispersed departments that usually need to share data. The shared data can be stored on a site, and all users are required to access the site. the advantage of this solution is that
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
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,
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
I. Method for adding a custom counter
To create a custom query, perform the following operations:1. In the installation pathMercuryLoadRunner/DAT/monitors find the vmon. cfg file and open it.2. In the third row of the vmon. cfg file, customcounters
34 SQL Optimizations
We should not only write SQL statements, but also write SQL statements with excellent performance. The following sections will help the author learn, extract, and summarize some materials to share with you!
(1) select the
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
World-class Oracle expert masterpiece
Oracle 10GDatabase Management Art
Fully elaborate on Oracle 11GNew Features
"This is the most detailed 11 on the market.GReference books are rich in content. I strongly recommend this book
During the writing and storage process, we often encounter converting the arraylist in Java into an array in Oracle. (The arraylist contains some Java objects.For example, some people objects exist in arraylist.1. First, you must create
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