Query all the elements of a distance from a certain point (that is, the surrounding query) SQL:
Select T. objectid, T. comp_type, T. datatype, T. comp_name, T. health_lic, T. shape. sdo_point.x as x, t. shape. sdo_point.y as Y, T. reg_addr, T.
Today, we are doing an experiment with records/s inserted into the Oracle database. Both servers locally copy a million record table to another table with the same structure. One server took 12 s and the other one took nearly 2 minutes. Generate an
Add a column:
Alter table emp4 add Test varchar2 (10 );
Modify a column:
Alter table emp4 modify test varchar2 (20 );
Delete a column:
Alter table emp4 drop column test;
Here pay attention to a few places, first, add and modify the column
Oracle provides an interesting connect by clause, which can sort the branches with a family tree structure. It applies to the structure of organizations or companies, financial account code, and so on.
To use query traversal, you need to store
Today I want to query all the table names in the Oracle database or all the tables in a user. I haven't thought about it for a long time. I still found the answer online.
Select table_name from all_tables; // AllSelect table_name from
1. Oracle Constraints· If a constraint only applies to individual fields, you can define the constraint at the field level or at the table level. However, if a constraint acts on multiple fields, constraints must be defined at the table level
· When
Author: eygle | English version [indicate the source and author information and this statement in hyperlink form during reprinting]
Link: http://www.eygle.com/archives/2011/12/oracle_linux_rm_rf.html
A mistaken deletion case mentioned a few days ago:
Error: ORA-00845 after Oracle 11gr2 is started
Rac1:/home/Oracle> sqlplus/As sysdba;
SQL * Plus: Release 11.2.0.3.0 production ontue Feb 14 09:11:41 2012
Copyright (c) 1982,201 1, Oracle. All rights reserved.
Connected to an idle instance.
In Oracle10g, if the installation example is not selected during instance creation, you can create an instance using the script under $ ORACLE_HOME/demo/Schema after the instance is created. For details about the creation method, the official
Oracle 9i Server
Oracle 9i includes processes, memory structures, files, and other componentsThe Oracle 9i server is composed of an Oracle instance and an Oracle database.An Oracle instance is composed of background processes and memory structures.
Unmount Oracle 9i under XP
Keywords: oracle Environment: Windows XP + oracle 9i
1. Stop all Oracle services: Choose Control Panel> Management Tools> services> stop all oracle services.2. Uninstall the program: select the oracle Universal
Document directory
Nvl () function
Recently, the company is working on Oracle database-related products. Here is a summary:
ISNULL () function
SyntaxISNULL (check_expression, replacement_value)Parameters Check_expressionWhether the expression
Thank you for choosing zhanghua first create.
-- How to import dmp database files in oracle? Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up oracle data. The exp command can export data from the remote database
1. Definition of SCN
SCN (System Change Number), That is, the system change number, is a very important data structure in the database.
SCN is used to identify the version submitted by the database at a specific time. When a transaction is committed,
After Oracle 10 Gb is installed by default, oracle10g the account is locked when you log on with scott (password tiger) username. It turns out that scott cannot log on to Oracle. To solve this problem, you can log on as a DBA, log on, unlock user
1. Definitions and functions of parameter filesThe oracle Database configures the database through a series of parameters. These parameters are displayed in the form of key-value pairs, such:MAXLOGFILES = 50BACKGROUND_DUMP_DEST = C: \ DUMPHere, the
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