Note:
Database Server OS: Windows XP (64-bit)
ArcSDE installer OS: Windows 7 Professional Edition
Database Server database version: Oracle 11gr2.
Version of ArcSDE: ArcSDE 9.3.
1. Install the Oracle 11gr1 client on the computer where
1. problem origin when the Oracle database field value is smaller than 1 decimal point, the char type will be used for processing, and the 0 before the decimal point will be lost for example, 0.35 is changed. 35 2. solution: Use the to_char
Problem: a project is being developed today. It requires that when the slave block is saved, the field data of the master block changes and is saved to the database. Originally, it was assigned a value from the pre-insert trigger of the block. The
Note: use single-step debugging to identify errorsProgramStatement XXX dynamic link library not registered (The dynamic link library file is not registered or the class library of this method does not exist)
the object settings are not referenced
Problem description: The database insertion Operation, after commit, and then shutdown, Oracle did not respond.
Solution: Because the database has a large amount of data to roll back, executeSQL> alter system checkpoint;SQL> shutdown immediate;
What is join?---------------------• In a straightforward a join is a query that combines rows from two or more tables, views, or materialized views.
• Oracle Database performs a join whenever multiple tables appear in the from clause of the query.
•
Oracle repeat processing already has some simple SQL on the internet for use, but I feel there are some improvements.
Delete Table1 where rowid not in (Select max (rowid) from Table1 group by col1, col2)
The preceding method deletes duplicate
Start-run-enter services. MSC-An error occurred while starting the oracledbconsoleorcl service.
Start manually from the CMD command line:C:/Documents and Settings/wangnc> emctl start dbconsoleEnvironment Variable oracle_sid not defined. Please
Link: http://www.eygle.com/archives/2010/11/recover_archivelog_corruption.html
Recently, in the case of emergency troubleshooting, a rare case of archive log corruption was encountered to help the user recover the database. Here we will share
The where comparison conditions are as follows:
Equal to: =, , >=, <>
Including: In, not in exists, not exists
Range: between... and, not between... and
Matching Test: Like, not like null test: Is null, is not null
Boolean links: And, or,
SQL Optimization
Oracle SQL optimization is a complex topic, and even requires the entire book to introduce the nuances of Oracle SQL optimization. However, there are some basic rules that every Oracle DBA must follow. These rules can improve the
-- Varchar, varchar2
Contact:1. varchar/varchar2 is used to store variable-length stringsFor example, if varchar (20) is saved to the string 'abc', this field occupies only 3 bytes in the database, not 20 bytes.2. The maximum value of size is 4000,
First, call the correct stored procedure. Writing SQL statements is no different from other SQL statements. However, pay attention to the location of the returned values. As a result, the stored procedure is first accessed today,A colleague gave me
This section describes how to configure the connection pools of Oracle, SQL Server, Sybase, and MySQL databases under websphere, and provides examples of corresponding connection pools. Compared with WebLogic, the configuration of the WebSphere
To_number ([,[,)
C Indicates a string, FMT indicates a special string, and the function return value is displayed in the format specified by FMT. Nlsparm indicates the language, and the function returns numbers represented by C.
To_single_byte
There are two methods to create a database in Oracle.First, use the Oracle database creation tool dbcaThis is a graphic interface that is easy to use and easy to understand, because of its friendly interface, beautiful appearance, and complete
From: http://blog.csdn.net/zhiguo2010/article/details/5737492
In Oracle, the Null String is considered null, and any value compared with null is null. In this way, an exception occurs when comparing two strings. See the following example:
DeclareI
Due to project requirements, the company needs to migrate the database of some projects to Oracle, and almost all of them use sqlserver. Suddenly, 2 ~ Three years of experience in SQL Server development and use has not actually brought me much
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