1. Enter Excel Test form, Test.xls.2. Save As. csv format3. Create the Sql*loader control file Test.ctl, which reads as follows:Load dataInfile ' C:\test.csv 'Insert INTO table test fields terminated by ', '
Oracle sequence understanding and creating a self-augmented primary keyOracle Sequence PRIMARY KeySequence: is a database object provided by Oacle to produce a series of unique numbers.L automatically provide a unique valueL Shared objectsL mainly
Download Oracle ClientOfficial: Linux x86-64Agree to the agreement and download the following documents:
oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm
Installationrpm -
View the size and space usage of an Oracle database(2012-06-19 14:44:30)reproduced
Tags: gossip
Category: Oracle
1. View the usage status of table spaceSelect Upper (F.tablespace_name) tablespace name,
Oracle Single data file expands beyond 32GThe tablespace data file capacity is related to the Db_block_size setting, which is specified when the DB instance is created. The Db_block_size parameter can be set to 4K, 8K, 16K, 32K, 64K, and so on,
I. Index organization table (index-organized table, IOT)An indexed organization table is a special kind of table that stores indexes and table data together. The data in the normal table is stored in the database in an unordered (Heap) manner.The
1. Assign permissions with DBA LoginCreate or replace directory D_output as ' D:\TEMP ';Grant Read,write on directory d_output to TestDB;GRANT EXECUTE on Utl_file to TestDB;2. Write a function to create the directory and write the dataCalling
Not how to use Oracle, and is in the local government rent intranet internal estimate is the cause of the firewall is not even in the virtual machine Oracle, just start a lot of trouble to find problems, and now give up the use of direct database,
http://blog.csdn.net/p451933505/article/details/9272257Methods for sorting fields in Chinese, digital, and English in Oracle:For example:
Order by Nlssort (field name,' nls_sort = Schinese_pinyin_m '), To_number (Translate (field name, ' 0
Oracle's execution planHow to get the plan executedAutotrace ExampleUsing explainExplain plan set statement_id= ' Testplan ' for select * from dual;Select Lpad (", 5* (level-1)) | | Operation operation, Options, object_name, cost,position from
-This SQL statement is used to implement the Oracle background record operation log, instead of or supplementing the application's operational logs.--1. Corresponding Log Record table-------------------------------------------------------------------
1. Oracle UserThere are two types of Oracle users, one is System user SYS system, the other is ordinary user;The view Dba_users stores all user information;To create a user:Create user username identified by password default Tablespace table
There is also a dual virtual table similar to Oracle in MySQL: The official statement is purely to satisfy the select ... from ... This habit problem,MySQL ignores the reference to the table.You must pay attention to the following:
SELECT *
One. Server local installation oracle11g or 10GTwo. Create a tablespace in the run input sqlplus/nolog,oracle.Three. After the installation is complete, enter SQL developer in the run to open SQL Developer (this is the native)Four. Select the JDK
Query and delete duplicate records of SQL statement 1, find redundant records in the table, duplicate records are based on a single field (ID) to determine the select * from table where Id in (the Select ID from table group Byid having count (ID) > 1
installing sqldevelo per Connect Oracle ---- ( This installation method is always in windoxs32bit ) Uploaded http://down.51cto.com/data/2213695Installing sqldeveloer is a prerequisite for installing Java and setting up environment variables.1.
The recent database query encountered a problem, the database is a number Type field, in the Java type corresponding to have an integer and BigDecimal will appear;The test found that when the database is SQL Server and DB2, the integer type is taken
UPPER (char) lowercase to uppercaseLOWER (char) uppercase to lowercaseInitcap (char) First letter conversionSUBSTR (Char,[m[,n]]) to intercept string functionsStart interception from the source string char m, intercept n bits you can omit, represent
Call the stored procedure of Oracle with NHibernate, nhibernateoracleSummaryNHibernate2.1.1 can finally call the stored procedure of Oracle, but you must use nhib.pdf. driver. oracleDataClientDriver Driver (Oracle. dataAccess. dll), but this will
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