How to create an oracle db Link
Known: database 1: test1; database 2: Test2Requirement: Create a DB link from database 1 to database 2
Solution 1:
1. on the computer where database 1 is located, create the service name to database 2:
Yesterday, we received guests from Beijing and showed us our new system. Unfortunately, our normal system cannot be started at this critical moment. After searching the event logs, confirm that the problem lies in Oracle, and then configure the net
10g RAC has many installation steps and takes a long time. It takes two days to install it.The following are the problems encountered during installation two days ago:1. The installation of ocfs2 is delayed for a long time. After installation,
Use oledbconnection. getoledbschematable (oledbschemaguid. columns, new object [] {null, schemaname, tablename, null}) when obtaining the schema information of a column, the returned datatable column is "data_type ", is to use a number to identify
No nonsense, just like the question.
View Current Database ModeConnect to the database and enter the following command:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->SQL>
Syntax Rules: Create [or replace] trigger [mode.] trigger name
Before | after insert | Delete | (update of column name)
On Table Name
[For each row]
When Condition
PL/SQL Block
Note:
The meaning of for each row is that in a statement
Source: http://www.askmaclean.com/archives/password-symbol.html
Purpose: To supplement the http://www.cnblogs.com/AlbertCQY/archive/2013/03/29/2989764.html
When managing Oracle user password security, we always use various tools to generate
To_date ('2017-3-24 ', 'yyyy-MM-DD hh24: MI: ss ')
Source: http://www.hkln.net/doc/oracle/ SQL /function.htm#a8
Introduction
Next Shard to shard
Oracle provides some basic data types for Data calculation. These data types can be
The foreign key constraint ensures the integrity of the reference. The foreign key constraint limits the value range of a column. One example is to restrict the abbreviation of a state name in a finite value set. This value set is another control
Document directory
Nvl
Decode Function
Decode is an exclusive function provided by Oracle. It is a powerful function. Although it is not an SQLStandard, but very useful for performance. Up to now, other database vendors have not yet provided
1. Check the database status. The status is normal.
[Oracle @ racdb01 RAC] $ crs_stat-TName type target State host------------------------------------------------------------Ora. RAC. DB application online racdb01Ora... s1.inst application online
When developing Oracle Forms, do I have such a requirement? I need to execute an operation every time I leave a row of records. When when-validate-record is used, but in actual testing, how can this problem be solved sometimes? Have you tried
-- ========================================
-- Set the Oracle listener password (listener)
-- ========================================
Are listeners secure? Sure! By default, any user can use the LSNRCTL tool to operate or disable Oracle listener
You can use spotlight software to monitor the running status of the database.
When a session lock occurs, we need to handle it in time.
1. view which session locks:SQL statement: Select 'alter system kill session ''' | Sid | ',' | serial # | ''';
In this article, the date obtained by getdate () is composed of two parts: today's date and then time: Select getdate ()
Use datename () to obtain the corresponding year, month, and day, and then connect them:
Select datename (year, getdate () + '-'
Export text data from Oracle tables (xls or TXT)
Two methods have been tested today. The record is as follows:
1. Method 1: Use the utl_file package
You can export data from a table as follows:
Create or replace procedure p_tabletoxls is
V_file utl_
Oracle JDBC connection: OCI and thin
OCI and thin are two sets of Java access methods provided by Oracle to access the Oracle database.
Thin is a thin client connection method. In this connection mode, you do not need to install the Oracle client.
Database Link: The main purpose is to access the remote database. You can directly access the remote database through the database link.
Synonym: To make distributed operations more transparent, the Oracle database has a synonym object synonym. As
Faster Oracle running-Oracle 10 Gb Performance Analysis and Optimization
Basic Information
Author: Tan HuaiyuanSeries name: itpub Technology seriesPress: Electronic Industry PressISBN: 9787121113253Mounting time:Published on: February 1, August 201
Gains, more than OracleAuthor of basic information: Liang jingbin Liang jinhong Press: Electronic Industry Press ISBN: 9787121200700 mounting Date: April 2013 publication date: 16 open pages: 480 versions: 1-1 category: more about computers, more
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