Oralce9i requires the following compiling environment:
Run the following command on the terminal:
# Rpm-q gcc glibc-headers glibc-kernheaders glibc-devel compat-libstdc ++ CPPCompat-gcc
Gcc-4.1.1-30
Glibc-headers-2.5-3
Package glibc-kernheaders
Http://kidiaoer.iteye.com/blog/1064902
In Oracle, if Max is obtained for the varchar type, 9 is larger than 10. This is because of the data type. We need to convert varchar to the number type.
Use the to_number () function.
Example:
Insert
1). tablespace
A table space is the logical division of a database. Each database has at least one table space (called a system table space ). To facilitate management and improve operation efficiency, you can use an additional table space to
Oracle is only available, not very familiar with it. It is too difficult to insert data slowly to test a data.
Some materials found on the internet, combined with the actual situation, have been successfully tested. Below are some
Code.
Oracle Database Version: 10.0.2
Server hardware configuration requirements
CPU: P4 1.6 GHzRam: 1 GBHD free space: 10 GBNic
Operating System Platform requirements
Windows 2 k pro, Windows 2 k SVRWindows XP Home, Windows XP ProWindows
Add field alter table docdsp add dspcode char (200) delete a field alter table table_name drop column column_name modify the field type alter table table_name alter column column_name new_data_type rename sp_rename change the user-created
1. log on to the database using an oracle user
[Oracle @ wuzj ~] $ Sqlplus/nolog
SQL * Plus: Release 10.2.0.1.0-production on Thu Feb 26 12:06:29 2009
Copyright (c) 1982,200 5, Oracle. All rights reserved.
SQL> Conn/As sysdbaConnected.
//
If reprint please indicate the source: http://www.cnblogs.com/xd502djj/archive/2010/08/18/1802130.html
Although I used to delete repeated records in the previous article, it was not bad, but I encountered a heavyweight large table, and I
I in database transactions (acid) refers to isolation (isolation): Unfinished (that is, uncommitted) transactions must be invisible. During a transaction, only one session that executes the transaction can see the changes.
Oracle uses restoration
The following table lists the Oracle9i databases:
The commit operation does not forcibly write the database buffer content to a file. After the commit operation, the server process will release the lock for related resources only after prompting
The overall structure of ofa is divided into two layers: Software-Oracle software and files (database)
Software Directory structure
Oracle_base/-------------------------------------- the name oracle is the most
/Product ------------------------------
Starting from 9i, Oracle provides an operation to avoid transaction exceptions due to space error, that is, resumable. generally, DBA often ignores the requirements for space resources in daily work, such as temp, undo, and data space required by a
Oracle optimization policy reference:
Tool usedStatspack
Install statspackCreate a tablespace of about MB, such as perfstatRun SQL plus on the server (log on to the Sys as sysdba user)@? /Rdbms/admin/spcreate
Running collection methodsExec
/*Name: stp_tianjialianjiefuwuqiFunction: Add a linked server and set its server options and security options.Steps: Call the system stored procedure sp_addmediaserver to add a linked serverCall the system stored procedure sp_serveroption to set the
1. Problem Description
Using the Oracle exp tool, Oracle 11g is installed on my client, and Oracle 9i is installed on the server. The following error occurs when I want to use the exp command on the client:
Export: Release 11.1 . 0.6 . 0 -
Reference: http://devbbs.doit.com.cn/archiver/tid-18781.html
Because the database server is installed in the lab, if you want to access the database server in the dormitory, you must make certain configurations. General remote configuration can be
1. Search for all indexes of a table (including index names, types, and columns ):
Select T. *, I. index_type from user_ind_columns T, user_indexes I where T. index_name = I. index_name and T. table_name = I. table_name and T. table_name = table to
Set the ref in the profile applicationContext-jdbc.xmlLocalChange to refBean
Configuration File applicationContext-jdbc.xml before modification JAVA: COMP/ENV/jdbc/datasource Local= "Datasource"/> Local= "Datasource"/>
Class = "org.
(From http://duqiangcise.javaeye.com/blog/563296)
1. view the system permissions of the current user
Select * From session_privs;2. view all roles in the databaseSelec * From dba_roles;3. view the maximum number of roles supported by the databaseSQL>
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