Oracle Import TXT file:1, build the corresponding tables and fields;2. Create a new Test.ctl file and write it with Notepad editor: OPTIONS (Skip= 1 ) load data INFILE " e:\8080.txt " into table Account_of_check-- Modify the
Sort of pits encountered:When using both RowNum and Ordey by in Oracle, two results occur.The sort field is the primary key, then the sort is performed before the row number is inserted;When the sort field is other, RowNum inserts the line number
Problem Description:Work using kettle to extract data from the original library into the standard library, error during extraction: "ORA-14400: the inserted partition keyword is not mapped to any partition"/"ora-14400:inserted partition key does not
Normal view and materialized view is not a thing at all, say the difference is recklessly together, first understand the basic concept, the normal view is not to store any data, he only defined, in the query is converted to the corresponding
1. Delete Table Drop
1.1 Executing the DROP TABLE table_name statementThe table after the drop is placed in the user Recycle Bin (user_recyclebin) without being deleted directly, and the table in the Recycle Bin can be restored. Obtain the
Oracle User management:Sql*plusCreate user username identified by password; Create userGrant permissions (dba= Administrator, resource= Ordinary user, connect= visitor) to username; AuthorizedDrop user username cascade; Delete user, add cascade will
1 --Remove duplicate rows: Distinct2 --scope: Is the combination of all subsequent fields3 Select distinctDeptno Sal fromEMP;4 SELECT * fromEmpORDER bySal;5 --Condition of (date type)6 SELECT * fromEmpWHEREHireDate='1 July-December on -80';7
First,What is an Oracle database? As we all know, Oracle database is a relational data management system (do not know what is a relational database of children's shoes self-google,baidu), similar products and mysql,sqlserver, many times, The system
Memory areas and background processesShared PoolThe shared pool is the most complex SGA structure, and it has many sub-structures, so let's look at a few common shared pool components: 1. Library Cache : library cache This area of memory caches the
background: recently contacted with Oracle, previously used by MySQL, so not too understand, documenting the knowledge of OracleOracle's account operation:Note: To create a user and delete a user and authorization, the general user does not have
Dependencies--right--manage NuGet Packages--Browse--Enter the followingOracle. Manageddataaccess.core(remember to check include pre-release version)How to add an operational database to a page Public Iactionresult Get () {try {string connstr =
PL/SQL single-row functions and group functions
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided
The main reason is to summarize the previously encountered Backup recovery. The content is summarized several times.
1. Add control file backup
Select * from V $ controlfile;Add Control FileAlter system set control_files = 'd: \ demo1 \
I want to start to systematically learn some basic Oracle knowledge. Although I am not a DBA, I want to learn some basic knowledge well this time. So I plan to take notes and make an outline, which is too specific.
The content is not listed. Only
A view named dba_feature_usage_statistics is added to Oracle10g. all the features you have used will be recorded, and the information may exist in some trace files such as the result collected by RDA, pay attention to the usage of these features
1. Create a table:
Create Table stud (Sid int,Sname varchar2 (50))Insert a data recordInsert into stud values (1, 'Tom ')
2. Create a stored procedure -- Create a stored procedureCreate or replace procedure pro_select_name (V_sid in stud. Sid % type,
1. Create a table:
Create Table stud (Sid int,Sname varchar2 (50))Insert a data recordInsert into stud values (1, 'Tom ')
2. Define a cursor through the package Create or replace package pack_studIs-- Declare a cursor typeType cur is ref cursor;End;3
Oracle basic operation commands
Author: cuizong007
The basic Oracle operation commands in this document are performed in Linux, and can be used as a reference for other systems. Due to my limited level, it is inevitable that there are omissions.
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