Today I looked at Oracle intersection and the set, the following I searched for data, after testing, sorted as follows:
1. and set
Table 1:
INSERT into student1 values (1, ' Student 1 ');INSERT into student1 values (1, ' Student 2 ');INSERT into
Create or Replace procedure Tj_data
is--variable v_tablename VARCHAR2 for the current stored procedure
;
V_sql varchar2 ();
V_count integer;
--Gets all the tables in the current database
CURSOR Table_loop is SELECT table_name from
The company's project encountered the need to take data from other systems in the database for statistical analysis of the problem, the initial choice of using Oracle's ODI tool to extract the number, but the other side provided by the database
To create a process script for a package declaration:
CREATE OR REPLACE PACKAGE "Com_bos" is-------------------------------------------------------------------------Description: --Constructing SQL statements of type B
See an article on the online Oracle cold backup, very detailed:
First, cold backup
The process by which the database completes copies of all physical system files in the shutdown state, also known as offline backup
Suitable for non-archive mode,
sqlplus into the database
Export write commands directly at the command Line 1. Export your own table exp userid=scott/tiger@myoral tables= (emp,dept) file=/opt/e1.dmp 2. Export tables for other scenarios If users want to export tables for
Oracle queries contain special characters%,_,&, and you want to query the contents of a field in a datasheet that contain this special character, you need to use the escape character, or the method of stitching the string.
0. The original
First, the software installation process
1. Double click setup.exe and click "Start Installation"
2. Select the installation path database type is advanced
3. Choose to install the Enterprise Edition
4. Select installation directory
4. Check
In an Oracle database, the more frequent the submission is, the better. On the contrary, bulk submissions can get better performance. This article gives you a simple demonstration of the performance difference between submitting a row to a bulk
Java JDBC Connection Oracle Three ways
Oracle JDBC Connection ServiceName
jdbc:oracle:thin:@//:/
Example: Jdbc:oracle:thin@//10.1.112.110:1521/health
Note: There is//behind the @. This format is primarily for clusters, with different SIDs for
Java EE Development of various types of resources download list, the history of the most complete IT resources, click to enter.
(1) Only DBAs can import files exported by other DBAs
Grant DBA to TestUser;
If not, in the execution:
Alter user
Java EE development of various types of resources download list, the history of the most complete IT resources, click to enter.
1. General SID Mode
Jdbc:oracle:thin:username/password@x.x.x.1:1521:sid2. Ordinary servername Way
Software Environment Windows oracle9i + hardware environment CPU 1.8G + RAM 512M Now we have 2 tables as follows: t1--large table 10000 strokes t1_fk_id T 2--Small Table 5000 t2_pk_id T1 by the field ID in the table and T2 the primary key
Hibernate+oracle integration with a problem, run the main method is not an error, there is no hint information, but can not create a table.
public static void Main (string[] args) {
Configuration cfg = new Configuration ();
Cfg.configure
2007/6/1
Oracle DML Select for UPDATE syntax examplesIn most cases, the processing done in the extraction loop modifies the rows checked out by the cursor, and Pl/sql provides a syntax for doing so.
This syntax includes two parts-the FOR UPDATE
use of the Exp/imp Export Import Tool
2004-02 Maple one. Export tool exp 1. It is the next operating system executable file storage Directory/oracle_home/bin exp Export tool compresses data backups in a database into a binary system file.
1. Database cannot be started
Sql> StartupThe ORACLE routine has started.
Total System Global area 289406976 bytesFixed Size 1248576 bytesVariable Size 83886784 bytesDatabase buffers 197132288 bytesRedo buffers 7139328 bytesDatabase loading complete.
In the sort of Cross report column header, you encounter these three questions, which are detailed below.
The table structure of the database being designed is as shown in Figure 1:
Figure 1
To get out of the student_name_,s.grade_,s.subject_name_,
Today, the database hang to solve a problem. Log also nothing wrong, with Sqlplus '/as sysdba ' landed in after has been stuck in where, is very depressed.
Forced to land Sqlplus,
$sqlplus-prelim/as SYSDBA
If you can query the SQL statement, you can
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