1. Create a temporary table to store the generated SQL statements, and determine whether to perform the add operation based on the table name and table comment.
Create Table temp_table(Table_name varchar2 (64 ),Table_comments varchar2 (128
1. Download
SlaveHttp://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.htmlDownload
Instant Client package-Basic Package (Note: All files required to run OCI, occi, and JDBC-OCI applications) downloaded here is version 1
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
Create and modify users
The create user statement creates a user. When a user connects to the Oracle database, it must be verified. There are three types of authentication in Oracle:
Database
External
Global
The default value is database
Oracle Execution Plan Analysis
1. What is an execution plan?
An explain Plan is a representation of the access path that is taken when a query is executed within Oracle.
Ii. How to access data
At the physical level Oracle reads blocks of data. the
I. Permission classification:System permission: The system specifies the user's permission to use the database. (System permissions are for users ).
Object permission: the access permission of a certain user to tables or views of other users. (For
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
Some additional test results:1. Storage space of geometric objects
In order to test the size of the geometric object storage space of Oracle Spatial and ArcSDE in a relatively real environment, two line data and surface data with about 0.1 billion
· 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 "),
Construction of common geometric objects
This article introduces ESRI's st_geometry's geometric object construction method, which is much easier than Oracle spatial, we already know that the constructors in each sub-type of st_geometry construct
One connection query may contain multiple entries:
For example, for join queries between table A and Table B, A. ID may correspond to multiple results of Table B. Id. If it is written as follows:
Update
(
Select a. ID as VAR, B. ID as Value
From a,
This is the result of my study. You are welcome to repost it and exchange it. However, you must provide the link to this article: Sorry ......
My laptop uses a 64-bit Windows 7 operating system. In the 32-bit operating system era, Oracle is no
To determine the content contained in the tablespace, run:
Select owner, segment_name, segment_type
From dba_segments
Where tablespace_name = ''
Query the data files contained in a table space.
Select file_name, tablespace_name
From
In ORACLE:
The connector is: |
For example:
SQL> select 'employee _ id is '| employee_id from HR. Employees where employee_id = 100;
'Employee _ idis '| employee_id-------------------------------------------------------Employee_id is 100
Double
Prerequisites: the user must have sysdba system permissions for tablespace transmission. The moved tablespace is a self-contained tablespace and should not depend on the external objects of the tablespace. Check whether it is self-contained by using
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
The Oracle parser processes the table names in the from clause in the order from right to left. The table written in the from clause (basic table driving table) will be processed first, when the from clause contains multiple tables, You must select
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
* Execute an insert statement and pass the parameter */Create or replace procedure p_test2 (I in number)BeginInsert into T values (I, 'x' | to_char (I ));Commit;End;/
AAA BBB String driver = "oracle. JDBC. Driver. oracledriver ";String strurl =
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