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.
Problem description: when installing Oracle for 10 Gb, "Checking Network Configuration Requirements... check complete. The overall result of this check is: not executed solution: Oracle supports installation on a system with IP addresses
Kettle was used due to the Informatica bug.
I used it for the first time today. I found it to know the master of kettle.ProgramStartup method: run data-integration \ spoon. bat.
After the startup, it is found that the database cannot be
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,
If the not null restriction is added when varray is defined, the element of this varray cannot be null.
Definition:
Create or replace type integer_varrayAs varray (5) of integer not null;/
Then there is a PLSQL block as follows:
Declare
-- Declare
(I) A table has many duplicate values in a column. The base is very small. What indexes should be created?
-- Create a bitmap index. For details, see the comparison of the lock costs between B-tree indexes and bitmap indexes.
For example:
Create
First, express my position,
I absolutely support foreign keys and must add indexes!
Although this requirement has been lowered in the higher version of Oracle, the following causes are still involved:
① Deadlock
The primary cause of the deadlock
(I) index skip Scan
WhenThe table has a composite index. In the query, other columns except the first column in the index are used as conditions, and the optimizer mode is CBO. In this case, the query plan may use the SS
Skip Scan detects the
Document directory
Oracle Net manager is a small Component of Oracle client.
In the Oracle Enterprise Manager Console, if an incorrect service is configured, it cannot be deleted. You must go to Oracle Net manager to view all your previous
Character Set
Oracle official answers to character sets and nls_lang: http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
What is character set first? Character Set is a collection of symbols interpreted by byte data. It
When using PLSQL developer, the ORA-12154:TNS: Unable to parse the specified connection identifier "a solution to the problem plsqldeveloper version 7.1 today suddenly needs to change a project a long time ago, that project uses Oracle9iStart PLSQL
I have seen many people talking about issues such as TNS or the inability to log on to the database. I just summarized the following.First, the network structure of Oracle can be combined with encryption, LDAP, and so on .. We will not discuss it
Method 1: Use System. Data. oracleclient (you need to install the Oracle client and configure tnsnames. ora ).
Oracleconnectionstring: Data Source = orcl; user id = Scott; Password = tiger; persist Security info = false;
Method 2: Use oldedb to
Oracle series: connecting to Oracle servers
When a user connects to a database server, it becomes the database client. The two can exist on the same machine.
1. Configure the Oracle server1. Configure the listener① The listener listens to and
My problem is as follows:
There is a table t, field c1, c2, c3, c4, which requires a random selection from the repeated values of c1 to form a result set. How to implement it?
For example, the record is as follows:
Aa1 bb1 maidAa1 bb2 cc2 dd2Aa1 bb3
1. What is registration?
Registration is to register the database as a service to the listener. The client does not need to know the Database Name and Instance name. It only needs to know the service name provided by the database to external users
In the Execution Plan of the partition, it indicates that the field has different partition operations, including two
PARTITION RANGE ITERATORPartition range single
The cost of ITERATOR is higher than that of SINGLE. It seems that ITERATOR is
Oracle, a famous software company, has achieved great success since it switched to the Linux platform in 2004. Oracle has now become the largest database software vendor on the Linux platform, and maintained a strong growth momentum.
According to
Basic command: group by cube (Field List );
The CUBE command generates different permutation and Combination Based on the field list, and generates statistical summary based on each combination result.
For example: group by cube (city, job, age);
1. mssql
Use two TOP commands to obtain the paging data we want, for example:Select * from
(
Select top (
PageSize
) * From
(
Select top (
PageSize
*
PageIndex
)*
From articles
Order by pubtime DESC
)
Order by pubtime ASC
)
Order by pubtime DESC
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