Recent Oracle upgrades, from Oracle8 to Oracle9i, have encountered a lot of trouble.The first is the uninstall problem. Because Oracle8 did not use the normal uninstall method, the installation of the oracle9i is difficult. The correct uninstall
Analyze table can typically specify analysis: Table, all fields, all indexed fields, all indexes. If not specified, all are analyzed.
sql> Analyze table my_table compute statistics;
sql> Analyze table my_table compute Statistics for table for all
When we use Oracle, if there is a similar character conversion in SQL, there will usually be the above garbled situation, because the Oracle database operating system's character set and the client's character set is not the same, so we need to lang,
In Java Operations on Oracle, date fields are a headache, but it is not difficult to grasp the matter carefully.
Give an example to illustrate:
There are name VARCHAR2 (20)//book names in table books, Buydate date//Purchase two fields.
A database
2010-3-10
http://localhost:5500/em/How to start
Starting service: (1) dbconsole (2) Oracleservice; (3) Tnslistener
In IE input: http://localhost:5500/em, the following error occurred:
"The database state is currently unavailable. This may be
Interpretation in document: It returns TRUE if an INSERT, UPDATE, or DELETE statement affected no rows, or a SELECT into statement returned no Rows. Otherwise, it returns FALSE.
The explanation is more subtle:
%notfound is the logical opposite
Today in the virtual machine in the centos6.3 system installed Oracle 11g out of many problems, first record the interface garbled problem bar.
This interface appears during /runinstaller installation:
Zysong.ttf download is an Oracle font
Configuring system resources for Oracle in SOLARIS10
Wen/Huppis Haratu
Summary:
In this version of SOLARIS10, System resource configuration management has changed significantly compared to previous versions. such as Oracle, in the process of
There are five main loops: Exit when, loop, while, for (normal loop), for (cursor loop), and below for example one by one (all stored procedures).1, Exit when cycle:Create or replace procedure Proc_test_exit_when isI number;Begini:=0;LOOPExit when
This example has been completely tested, one-way, and synchronized to be used.
--Noun Description: Source--The database being synchronizedPurpose-the database to sync to
The first 6 steps must be performed, after the 6th is some auxiliary
1. First put the top 4 packages under the Lib folder
2. Configure XML, placed in the SRC directory
ommentgenerator> Rator targetpackage= "src.
Map "targetproject=" src ">
3. Write Execution
1, problem phenomenon
2. Solution Method
The first step: the current SOLARIS10 system login is logged in as root, when the mouse click on the desktop, right again "open terminal"
Step Two: enter bash, switch to bash-3.00, if not, the
Executes the sh of the stored procedure. /oracle/.bash_profile/oracle/bin/sqlplus qd/qd@info
Timed execution of stored procedures using timersView Timer:
Crontab-l
CRONTAB-E Edit Timer
I insert a new: w! Save: q! Exit
The contents are as
First define cursors and variables
CURSOR C1 is SELECT ename,ejob from emp WHERE deptno=10;
V_name VARCHAR2 (10);
V_job VARCHAR2 (10);
First: Using loop loopsOpen C1;LoopFetch C1 into v_name,v_job;Exit when C1%notfound;......End LoopColse C1;It is
Oracle in%rowtype:
%rowtype: Indicates that the type is a row data type, stored as a row of data, a row with many columns, equivalent to a row of data in a table, or a row of data in a cursor.
The%rowtype effect is that when querying the entire
SUBSTRING, this function is used to find a string of strings, the function of the use of high frequency.
Sample string: "2011-11-17"
The function to ask for a string in Oracle is: SUBSTR
The syntax for the SUBSTR function is:
substr (String,
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