Instr usage in Oracle:The format of the instr method isInstr (source string, the string to be searched, starting from the nth character, to find the nth matching serial number)Returns the location found. If not, 0 is returned.For example, in instr ('
ORACLE trigger syntax
There are two types of triggers: after and before,
The syntax for Oracle to generate database triggers is:
Create [or replace] trigger name trigger time trigger event
On Table Name
[For each row]
PL/SQL statements
Where:
This article uses SQL Server 2 K as an example to illustrate the specific implementation process of connecting SQL Server to the Oracle server.
1. Install the oralce client software and sqlserver2000 software on the PC.
2. Configure the tnsnames.
First, if you want to use sign-on audit,
You need to set in profile, profile name is
Sign-on: Audit Level,
There are four levels: None, user, responsibility, and form.
Defualt is none.
The user records the logon, logon, and logout times.
The following problems occur during website publishing:
Symptom: After a website is published, the system prompts that an oracle higher version of support error is required when logging on to the system. In this case, you need to modify the folder
L
Test Case of transaction nesting
(1)
First, create a table:Create tables MSG (MSG varchar2 (100 ));
(2)
Then, create the sub-transaction Stored Procedure local.Create or replace procedure local is CNT number: =-1; -- global variables begin select
Flash back technology and recovery
Overview of flash back TechnologyIn Oracle10g, the flashback technology can be used at the row, table, and database levels. The specific categories are as follows: 1. the row-level flashback technology can be used
Rmthost
ValidExtract
Use the rmthost parameterto:
● Identifya remote system to which the local extract process connects
● Specifythe TCP/IP Port number on that system where the manager process is running
● Controlvarious attributes of the TCP/IP
-- 1. view the Undo tablespace and undo parameters currently used by the instance.
SQL> show parameter undo
Name type value-----------------------------------------------------------------------------Undo_management string autoUndo_retention integer
Use the wait interface in Oracle 10 Gb to diagnose performance problemsJohn is the database administrator of ACME bank, and the other end of the phone is the angry user bill. He complained that his database session was hung up. Most database
When I accidentally executed the left outer join query of Oracle 9i, I found some incredible problems. I will post them here to discuss with you.Create tables and records to simulate the current situation:Create Table temp_test1(A number
There are several solutions: the first one. restart the server to fix the listener. log on to the database, sqlplus/As sysdba; SQL> shudownsql> startup # startup start # shutdown to close # LSNRCTL stop to close the service, execute close listener #
Install Oracle 10g in Windows 7. The orcale version used is 10 Gb.
Step 1:
Download from the orcale official website, for: http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k8_x86_production_db.zip
You can directly copy it to thunder
Note: At the request of the general public, see the address for the original image:Http://blog.csdn.net/meteorlwj/article/details/6949096
Prerequisites:1) install Oracle ODI2) install Oracle Xe Database3) create database users odi/apps,
Brief Introduction
InstallShield has built-in support for MySQL and Oracle. However, this function is implemented through ODBC and has strict requirements on the SQL script format. Therefore, an error is often reported when the script that has been
Example:Recently, the company has a project that involves data migration:The source database environment is: RedHat as 4 Oracle 10.2.0.1 (64-bit) Single Instance (bare device), hardware platform (IBM x3650)Target Database: AIX 5.3. Oracle 10.2.0.4 (6
One login sqlplusSqlplus username/password @ database instance as login role;For example, if user SYS (password: 123) logs on to the database as sysdba, you can enter sqlplus sys/123 @ l as sysdba;This logon method directly exposes the password. If
Oracle has launched the 11g database for more than a year. With the overall testing and evaluation of the 11g database by customers in various industries, the number of users who begin to upgrade to or deploy the Oracle 11g database is also
I. Job ConceptA group of PL/SQL statements used to complete specific functions. It is written by industry experts, and can compare it with our work schedule in our daily work. It will start to work at a certain time in the future, or manually repeat
Article 1 Oracle Architecture Overview
Let's take a look at a picture.
This figure shows the architecture of Oracle 9i. It looks complicated. Yes, yes. Now let's take a look:I. Databases, tablespaces, and data files1. DatabaseA database is a
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