I'm dizzy. It's really concise to add this one.
Private void displaybutton_click (Object sender, system. eventargs E){// Clear the data in listviewListview1.items. Clear ();
// Establish a data connectionOracleconnection conn
Steps required to record the SQL script imported from the Oracle database
1. log on to the database with the highest system privilege, for example, DRP project ):
Conn system/bjpowernode;
2. Create a user, for example:
Create user test
1. Write a connection directly in a fixed way in a Java class, for example:
Import Java. SQL. connection; import Java. SQL. drivermanager; import Java. SQL. sqlexception;/*** encapsulate Common Database Operations * @ author administrator
Oracle Database Server:Oracle Server is an object-1 relational database management system. It provides open, comprehensive, and integrated information management methods. Each server is composed of an Oracle DB and an Oracle server instance. It
In the Java source Program Bind Variable)In writing SQL statements in Java, Oracle is not used to bind variables, which greatly reduces the performance of the database:1. Hard Analysis of SQL statements (hard parse) is too much, which seriously
Yan Bin (write to me)
Original blog (http://blog.csdn.net/binbinxyz), reprint please indicate the source!
1. Export the database
1. Completely export the database test, username Scott password tiger, and export it to D: \ testdb. dmp:
Exp
Add, delete, modify, and delete trigger information
Create or replace trigger hz_test_triggerAfter insert or update or delete on hz_testFor each rowDeclareV_type hz_test_log.l_type % type;BeginIf inserting thenV_type: = 'insert ';Insert into hz_test_
Sometimes the database can be connected, and sometimes the database cannot be connected.
It may be that the current number of connections in the database has exceeded the maximum number it can process.
Code highlighting produced by Actipro
Package:
A package is a combination of PL/SQL programming elements, such as related processes, functions, variables, cursors, and constants. It features an object-oriented programming language and encapsulates these PL/SQL programming elements. A
Concept of a game subject:A cursor is a memory Workspace of SQL, which is defined by the system or user as a variable. The cursor is used to temporarily store data blocks extracted from the database. In some cases, you need to transfer the data from
1. Create a sequence
Run the following command to create a sequence ):
CreateSequence test_sequenceIncrementBy 1 --Data added each timeStartWith 1 --Count from 1Nomaxvalue --Do not set the maximum valueNocycle --Always accumulate, not loopCache10;[
* ** Today, I changed the computer name. I didn't expect to be able to start Oracle service listening. I don't know why, after being depressed for a long time, I added the loracle listener file listener. ora opened it and looked at it. It was still
It took more than an hour to install the 11 GB package. It took a long time for SQL developer to complete the task. Now, let's summarize the installation steps and hope to improve the installation efficiency for the children's shoes. Haha. I. Oracle
15. AbsReturns the absolute value of a specified value.SQL> select ABS (100), ABS (-100) from dual;
ABS (100) ABS (-100)------------------100 100
16. ACOsReturns the arc cosine value.SQL> select ACOs (-1) from dual;
ACOs (-1)---------3.1415927
17.
42. chartorowidConvert character data type to rowid typeSQL> select rowid, rowidtochar (rowid), ename from Scott. EMP;
Rowid rowidtochar (rowid) ename----------------------------------------------Aaaafkaacaaaaeqaaa SmithAaaafkaacaaaaeqaab
As we all know, the oralce client is several hundred megabytes too large, and there are many dir processing on the Internet. Here we use the official oralce toolkit Instant Client package!
:
Steps:
1) Check the last date, next date/failure times, broken, and check whether the job fails to run multiple times because of the exception or deadlock in the Stored Procedure executed by the job, it is automatically broken. This is usually 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