I. Others
· No topics involved
Oracle Spatial's georaster support is not studied in this article. In addition, Oracle Spatial currently supports some more "GIS" functions, such as networks and topologies, and some more "Web" functions, such as
1. Search for primary keys and indexes of a table.
Check the primary key name:Select constraint_name from user_constraints where table_name = 'abc' and constraint_type = 'P ';Query the columns corresponding to the primary key:Select column_name
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
Open Control Panel --> Administrative Tools --> Local Security Policy result my computer is like this:
Run the following command: regsvr32 gpedit. dll wsecedit. dll.
Copy framedyn. DLL to C:/Windows/system32/WBEM
Enter regsvr32 gpedit. dll
Environment window
The oralce client and server are on the same machine. The service name and listener are configured on both the client and server. At this time, the service name or listener may not be found when the program is connected.
In this
Oracle's pseudo-column is often translated into pseudo columns, and someone translates it into virtual fields. Data operations often bring unexpected results.Frequently UsedSysdate, policimestamp, rownum, rowid, currval, nextval, uid, user, level,
// Create a temporary tablespace
Create temporary tablespace zfmi_tempTempfile 'd:/Oracle/oradata/zfmi/zfmi_temp.dbf'Size 32 mAutoextend onNext 32 m maxsize 2048 mExtent management local;
// The tempfile parameter must have
// Create a data table
Query constraint type
Select distinct constraint_type fromdba_constraints;
Type Code
Type description
Acts on Level
C
Check on a table
Column
O
Read only on a view
Object
P
Primary Key
The error message "01652 unable to extend the temp segment through 128 (in the tablespace temp)" is reported when the Oracle stored procedure is executed today ".
After running the DF command in Linux, it is found that the space used by the disk is 1
Oracle stored procedures return record sets. The key is to use a cursor. We certainly have a lot of contact with database cursor. We can use open, fetch, and close operations to control the cursor for various convenient operations. I will not repeat
I. Spatial Relationship Calculation
The above two chapters are essential for storing spatial data in the database and accelerating the acquisition of spatial data through indexing. From this sentence, we can also see that subsequent chapters are
· ArcSDE
ArcSDE has the following spatial relationship judgment functions:
Space Operations
Description
St_envintersects
The boundary of the rectangle satisfies the st_intersects relationship.
St_intersects
Any
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
Preface
Wind, tight,
Night, deep,
Sword, out of the sheath,
Shadows, moving forward!
The conception and content of this book
In the Server field, IBM pseries servers and AIX operating systems are undoubtedly the best in the Unix server field. They
MSSqlserverAndOracleBeforeNRecords This question seems so simple. Both databases provide order by clauses. The problem should be solved. Try Ms first.
SqlserverHow to do this: Use northwind; Create Table testsort (ID integer); insert into testsort
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
Row_number () over (partition by col1 order by col2) indicates grouping by col1 and sorting by col2 within the group, the value calculated by this function indicates the sequential numbers after the sorting in each group (the continuous and unique
From: http://blog.csdn.net/sharpnessdotnet/archive/2009/06/24/4294549.aspx
1. Select D. id, D. outer_code from dict_depts_source D order by outer_code (view duplicate data)
2. Select D. id, D. outer_code, row_number () over (partition by
From: http://blog.csdn.net/seventh1984/archive/2009/02/26/3940168.aspx
I personally think this function is actually very useful. sys_connect_by_path (field name, The Connection Symbol between two fields). Note that the Connection Symbol here
I haven't written a blog for a while recently. I learned too many things instead of being lazy. Later, I will try again.
1. Add an ORACLE data source to ODBC
The first condition for adding an ORACLE data source in ODBC:Install Oracle client. After
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