1. Start-> Settings-> Control Panel-> management tools-> services , stop all Oracle services. 2. Uninstall all Oracle products 3. Run regedit, select HKEY_LOCAL_MACHINE/software/Oracle, and press del to Delete this entry. 4. Run regedit
The emergence of Oracle Spatial has led many people to come up with the idea: "Oracle must be the most familiar with its own database products, and Oracle Spatial must have the best performance, in contrast, the day when ArcSDE for Oracle was
Ora-22835: buffer to small for clob to Char or blob to raw conversion (actual string, maxinum string)
Cause: an attempt was made to convert clob to Char or blob to raw, where the lob size was bigger than the buffer limit for char and raw types.
Database link ORA-01017: invalid username/password
Today I create a database link in Oracle as follows
Create database link database_link1Connect to Scott identified by TigerUsing 'pdtt ';
When I try
Solution: Background 1. Sort out the junk files on drive C. Delete log files. 2. Then, oralce cannot be used, prompting that there is a problem with TNS, and then searching for information, which has not been resolved. Later, I saw the following
1. sequence definitionORACLE:
Create sequence
Increment by
Start with
Maxvalue /nomaxvalue
Minvalue /nominvalue
Cycle/nocycle
Cache /nocache
Order/noorder;DB2:
Create sequence
As data-type default as integerStart with Increment by default value:
MySQL:
Select * from table name where pid = 0 limit (current page-1) * per page), per page
ORACLE:
Select * from (
Select rownum as RN, source. * from (SQL statement) Source where rownum ) Result where rn> = (current page-1) * How much is displayed
I often encounter some exceptions in Java. SQL. sqlexception. I collected some previous documents from the Internet for future debugging!
ORA-00904: Invalid column name invalid column nameORA-00942: Table or view does not exist table or view does
On your backup machine (Windows), write a. BAT file for processing. The content is as follows:
1. Export data by userExp Scott/tiger file = 'd:/data1.dmp'Exp system/system file = 'd:/data2.dmp 'owner = Scott2. Export data by tableExp
I found in tomcat5 that the previous method for processing tomcat4 could not be used to process requests submitted directly through URLs. I finally found the most perfect solution for finding information on the Internet, so I don't need to change it
1. install linux
I installed Linux 4.4 compiled by Oracle (5 is also available, but it does not support Chinese characters and garbled characters)In addition: Oracle 10g supports liunx versions with redhat-2.1, redhat-3, SuSE-9, SuSE-8 or
· ArcSDE
1. Index type st_spatial_index
Here we first take a look at the definition of the ArcSDE index type st_spatial_index:
Create or replace indextype "SDE". "st_spatial_index"
"SDE". "st_contains" ("SDE". "st_geometry", "SDE". "st_geometry "),
· Spatial index performance
1. Use of spatial indexes
There are generally two phases for spatial queries in a spatial database. For Oracle Spatial, a spatial query is divided into two steps, one called primary filter ), the second is secondary
I. Linear reference
· Oracle Spatial
1. Create a space object for linear reference
Figure15 Example of a linear reference space object
For example 15, Oracle spatial needs to be created using the following SQL statement:
SQL> select sdo_geometry (
When I used Oracle SQL developer to operate a table, I somehow locked the table.
As a result, the data inserted into the table will die, not even truncate.
I made a try on the Internet to finally kill the process and unlock the table.
First,
Syntax Comparison Between in and exist: Select × from data table t where T. X in (...)T. X field type value set, such as ('1', '2', '3'), but if T. when X is of the number type, it seems that such a write method will have a problem. It can also be
Avoid using not in index ColumnsTo avoid using not in the index column, not will have the same impact as using the function in the index column. when Oracle Encounters "not", it stops using indexes and performs full table scanning.(22) Avoid using
These are important
1. Create a tablespace and a temporary tablespace
Create tablespace datafile ' 'size m
Create temporary tablespace tempfile' 'size m
Example:
Create tablespace test datafile 'd:/Oracle/product/10.2.0/oradata/orcl/test. dbf'
Create Table Test (A varchar2 (20), B number (2 ))Name againAlter table test Rename to test1(Rename test1 to Test2)
Add or delete Fields
Alter table Test2 drop column F
Modify Field type and sizeAlter table Test2 modify D varchar (40)Alter
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