Call report in the menu
Program (If you do not specify a parameter, you can use the following program segment for passing the parameter) run_product (reports, 'Report program name. rep ', synchronous, runtime, filesystem, '', null); call the Report
Use
Instantclient encountered the following problems when connecting to Oracle:
After the server computer is installed, the name is changed, causing Oracle startup failure. Set the listener in the C:/Oracle/ora90/Network/Admin directory. ora
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
1. enable statistical log information
Set autot on stat
2. Summary of Oracle Memory AllocationView SGA:Select * from V $ SGA;
(Note that Oracle is a multi-process in UNIX and a single process in Windows)View the various pools actually allocated by
1. Create a table
Create Table stud (Sid int,Sname varchar2 (50 ),Age number,Score number (4, 2 ))And insert some data (manually insert some data)2. Create a function
Create or replace function fun_getscores (V_age in stud. Age % Type)Return
In practical applications, tree structure data is widely used, such as the directory structure of books and the classification of organization departments !!!!!
Such as the Directory of a book
Name
Code
P_code
1. parameter settings during Database Installation
The following database version is Oracle 9i (
9.2.0
), When the database is installed, the database system will create a database instance, where: The installation directory is/Oracle, the
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
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,
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 "),
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
I. geometric objects
· Oracle Spatial
1. sdo_geometry
Oracle Spatial defines a series of geometric types and functions in the MDSYS mode to support the storage and use of spatial data. The most common type is sdo_geometry-of course, arcSDE can also
1) to install the basic jserver in the Oracle database.. I. e. Complete
Java runtime, you must run $ ORACLE_HOME/JavaVM/install/initjvm. SQL
SYS. This will give you base jserver which is required to install any
Additional Java related Add-ons. After
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 concept of a key-preserved table is fundamental to understanding
Restrictions on modifying join views. A table is key preserved if every key
The table can also be a key of the result of the join. So, a key-preserved
Table has its keys preserved
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'
When restructuring a project in the company, I found a bug. During the correction, I needed to use the Oracle column-and-column conversion. Although I do not understand it, Baidu was my best teacher. I found an article on the Internet, detailed
* 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