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
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
A deadlock usually occurs when a resource has a circular dependency.
The deadlock on Oracle usually occurs in the circular dependency of "Row-Level Lock:
There are records a, B, transaction T1, T2, now T1, T2 concurrent execution of
Document directory
Oracle learning Summary (2)
Oracle learning Summary (2)
The main content of this article includes: Implement Auto-incremental ID in Oracle and delete repeated records in the data tableI. Auto-incrementing Id 1. First create
Instr (source string, target string, start position, matching serial number)
In Oracle/PLSQL, The instr function returns the position of the string to be truncated in the source string. It is retrieved only once, that is, from the start of the
Create and manage multiple database instances in Oracle1007 people read comments (0) collect reports
1. After the database assist or create database statement is used, the system prompts that the database already exists.
2. Create with database
Create Table wzw_sales(Acct_no number (5 ),Person varchar2 (30 ),Sales_amount number (8 ),Week_no number (2))Partition by range (week_no)Subpartition by list (acct_no)(Partition part9 values less than (9)Tablespace dw_cdr_dataPctfree 10Pctused
------ Spool settingsCommon spool settingsSet colsep ''; // The output delimiter of the domain.Set echo off; // display each SQL command in the Start script. The default value is onSet feedback off; // display the number of records processed by this
Address: http://tech.sina.com.cn/s/2008-09-05/0907794823.shtml
The greatest difference between an SQL Server database and an Oracle database is the tablespace design. Oracle Database pioneered the design concept of tablespace, which makes an
CREATE DATABASE LINK
-- Create a link (created in the target database) Create [public] database link linknameconnect to username identified by passwordusing 'connectstring '; -- create public database link database connection name connect to user
1. Set the initialization parameter job_queue_processes.SQL> alter system set job_queue_processes = N; (n> 0)Job_queue_processes: the maximum value is 1000. View the Job Queue background processSQL> select name, description from V $ bgprocess; 2.
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_
In the past few days, using kettle to capture data involves a lot of processing time. Let's take a look at two figures:
Kettle is used to capture data without having to obtain the time. For Oracle databases, there are many time-specific functions.
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
42. chartorowidConvert character data type to rowid typeSQL> select rowid, rowidtochar (rowid), ename from Scott. EMP;
Rowid rowidtochar (rowid) ename----------------------------------------------Aaaafkaacaaaaeqaaa SmithAaaafkaacaaaaeqaab
This afternoon, I was depressed. I configured Tomcat 6.OracleThe database's JNDI is not easy to use. Later I consulted my master and finally got it ready. After that, I came back and thought about it. I was so careless, I didn't see anything
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