Basic Oracle knowledge
A tablespace can belong to only one database. Each database must have at least one control file (we recommend that you store three files on different disks) Each database has at least one tablespace (system
1. view all objects currently
SQL> select * From tab;
2. Create an empty table with the same structure as Table
SQL> Create Table B as select * from a where 1 = 2;
SQL> Create Table B (B1, B2, B3) as select A1, A2, A3 from a where 1 = 2;
3.
ArticleDirectory
How can I enter Chinese characters on the cmd.exe interface?
(From: After Oracle 10g installation is complete, you cannot log on to Em)
Status:
OpenHttp: // localhost-: 5500/emThe system displays the following
The data dictionary dict always belongs to the Oracle user SYS.
1. User:
Select username from dba_users;
Change Password
Alter user spgroup identified by spgtest;
2. tablespace:
Select * From dba_data_files;
Select * From dba_tablespaces; //
File Location (Oracle 9i):/export/home/Oracle/APP/Oracle/admin/Oracle9i/pfile/initoracle9i. ora
Important configurations
Db_name = "51 Test"
A database identifier, which corresponds to the name specified in the create database statement.
Arcsde9.2 and Oracle distributed Installation
Environment:
Oracle10gr2 is installed on two servers, but it only performs dual-machine hot backup. The operating system is Windows Server 2003 sp2.
ArcSDE is installed on the third server, and the
Today I made a smallProgram"Oracle. dataaccess, version = 4.112.2.0, culture = neutral, publickeytoken = 89b483f429c47342 "or one of its dependencies. Error message for trying to load programs with incorrect format! At that time, the first response
Http://shqkm.blog.163.com/blog/static/794804172010323102545265/
Oracle connect by usage
The SELECT statement in Oracle can use the start with... connect by prior clause to implement recursive queries. The connect by clause is used in
Statement of Oracle loop: declarex number: = 5; begin -- X: = 0; loopx: = x + 1;/* If (x = 10) Then exit; end if; */exit when x = 10; dbms_output.put_line ('X = '| X); End loop; dbms_output.put_line ('outer'); end;/define declarex number: = 5;
Decode
Syntax:
Select decode () from
E.g .:
Select orderno, decode (ostatus, 'P', 'Prepare to process', 'C', 'finished ')
From order_master
This function can be used to convert rows to columns:
Select * from Score
Select u_id, stu_name,
In Oracle, how does one automatically add one field?
Software environment:
1. Windows NT4.0 + Oracle 8.0.4
2. Oracle installation path: C: \ orant
Implementation
Note: Some descriptions and examples belowCodeFrom csdn, we will not specify the source one by one. I would like to express my gratitude to the relevant authors here! If the author has any objection, please send a letter
1 syntax
Common Oracle websites
1. You should know this on the official Oracle website. If you are free, check the latest news.
Www.oracle.com
Oracle China website
Www.oracle.com/cn
There are quite a few websites derived from the official website. The
Improve the import performance of the Oracle Database System
Source: http://www.info365.com.cn/
Author: Qiu Xiaoli>
AbstractThis article focuses on system-level changes,
You can modify it on the database server:
In the init file: nls_date_format is set to YYYY-MM-DD
You can also modify the registry or environment variables on the client.
Name: nls_date_format
Values: yyyy-mm-dd
The explicit display of the
Problem 1: to load the JDBC driverProgram: Normally, there are three ways to load the driver: 1) class. forname (string) is used to initialize the static content of the driver when loading a class specified by a string in classloader. In fact, the
You need to operate on the Oracle table. Since PL/SQL is not installed, you want to use oralce's database control tool. However, the result opened by IE cannot be displayed.
Check the system service and find that oracledbconsole [Sid] is not
Abstract: In a large number of business data processing projects, you can consider using partition tables to improve the performance of the application system and facilitate data management. This article describes the use of partition tables in
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