DeclareCursor Emp_cur is a SELECT * from EMP;V_emp Emp%rowtype;BeginOpen emp_cur;While Emp_cur%notfound--while must be used with the loop and control the loop body.LoopFetch emp_cur into v_emp;Dbms_output.put_line (V_emp.ename);
End Loop;Close emp_
My understanding of the temporary table: Create a table in Oracle that doesn't need any other functionality, is used primarily for some specific features of its own software system, and is useless when you run out of data in a table. If you do not
Recently because to write a project interface, the need to remotely connect the Oracle database, just at the beginning because I installed a local MySQL, so used to connect the local MySQL, the interface is generally finished in Tomcat test under,
Problem Description:
Deletes a data based on the table primary key ID, which executes more than 5 seconds after a commit has been performed on the PL/SQL.!!!
Problem Analysis:
The requirement is to delete a primary table A, and another two tables
Install Oracle today, next step. PS I also learn some with the Internet, coupled with their own understanding, I put the installation of the entire process of detailed screenshots, I hope
can help you to successfully install.
and unzip it.
Querying the SQL statement that Oracle is executing and the user executing the statement
SELECT b.sid Oracleid,
b.username login Oracle username,
b.serial#,
spid operating system ID,
paddr,
sql_text Executing sql ,
Mathematics function
1. Absolute value
Copy Code code as follows:
S:select ABS ( -1) value
O:select ABS ( -1) value from dual
2. Rounding (Large)
Copy Code code as follows:
S:select Ceiling ( -1.001) value
Oracle's analytic functions are very powerful and have been used frequently over the years. This time you will often use the analysis function to sort out, for future viewing.
It's easier to understand that we learn from cases.
1, build the table
Oracle's SUBSTR function simple usage
SUBSTR (string, intercept start position, intercept length)//return the intercepted word
substr (' Hello World ', 0, 1)//return result is ' H ' * to intercept a string with a length of 1 starting from the
I used to write simple UPDAET statements, such as Updae table set c1= ' XXX '
There is a problem with data revisions today, the project background is as follows, there is a table A, there are two fields A1,a2 also has an associated table B, which
One, blob field
A blob is a binary large object that is written by the English binary Large object, and Clob is written by the big character object, which is the English character Large object. Where a blob is used to store large amounts of binary
The Oracle tutorial you are looking at is: Automatically backing up Oracle databases. It is believed that a large number of system administrators are doing the same job every day-backing up the data. Once a day of negligence, and this day the system
The Oracle tutorial you are looking at is: Oracle quickly deletes duplicate records. When working on a project, when a colleague guides the data, he accidentally makes all the data in a table heavier, that is to say, there is a duplicate of all the
The Oracle tutorial you are looking at is: Oracle also has an injection vulnerability. Recently, MSN, Jiangmin and other well-known websites have been the threat of hackers and attacks, a time on the network jittery. This newspaper department
Oracle provides index monitoring features to determine whether an index is in use. In Oracle 10g, collecting statistics will allow indexes to be monitored, and this phenomenon no longer exists in Oracle 11g. However, this method only provides that
Index reconstruction is an issue that has been hotly debated. Of course, Oracle has its own views, and many of our DBAs follow this guideline to rebuild the index, which is that Oracle recommends that you rebuild the index in the 2 cases where the
I. Installation Environment:
Linux system: CentOS 6.3 64-bitORACLE:ORACLE11GR2 64-bit
Two. System Requirements:
1.Linux Installation Oracle System requirements
System Requirements
Description
Memory
Must be
ASP (Active Server Pages) is one of Microsoft's tools for developing Internet applications, and the ASP's connection to the database is typically done through ADO (Activex Data Object), like the computer World March 20, 2000 As described in the ASP
Overview
Wait events can be divided into two main categories, namely, Idle (IDLE) Wait events and non idle (non-idle) wait events.
1). Idle Wait Event
Oracle is waiting for some kind of work, not paying too much attention to this part of 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