SQL * loader (sqlldr) is an oracle high-speed Batch Data Loading tool. This is a very useful tool for loading data to the oralce database in multiple flat file formats. Sqlldr can load a large amount of data in a very short time. It has two
Format:
Select column
From table_name
Start with column = Value
Connect by prior parent primary key = Child foreign key
Select lpad ('', 4 * (level-1) | Name, job, ID, super from EMP
Start with super is null
Connect by prior id = super
Example:
Raw
1. View Overview
A view is actually a query SQL statement used to display relevant data in one or more tables or other views. The view uses the results of a query as a table. Therefore, the view can be viewed as a stored query or a virtual
Oracle databases differ significantly from MSSQL data operations, but there is an analogy in image operations. This article
Article About how MSSQL database images are implemented in Oracle databases, what are the differences between them.
In oracle, The utl_file package provides some functions and procedures for operating text files, and learns their basic operations.
1. Create a directory and authorize the user
Copy codeThe Code is as follows: -- create directory
Create or replace
1. COMMIT_FORM and COMMIT
Both form and database are submitted. Submit the data changes in form to the background database, and submit the data in the database.
2. DO_KEY ('commit _ form ') It will first execute the code in the KEY-COMMIT trigger.
During work, you need to import data from the GIS_WEICHAI_DATA_1S table in one database to the GIS_WEICHAI_DATA_1S table in another database. The database servers are all remote ! My implementation method is to use PL/SQL locally to operate two
Requirement:
Currently, due to the large number of transaction records in the business system, some supervisors often need to see all the records, but do not want to scroll. They can see all the records at a glance, so I thought of the form of
I accidentally heard about the snapshot of the oracle database. I was stunned when I first heard it. I didn't know what it was, and I spent some time studying it, the following is my summary on network learning.
Snapshots are mainly used in
1. Install the patch package required by Oracle11g, which is available on the installation disc. Enter the Server Directory of the disc: (it is best to use the official oracle documentation to determine which packages need to be installed)
2. Modify
When writing another stored procedure, the following SQL statement is used:
Copy codeThe Code is as follows: select max (RE_DATE) INTO V_RE_DATE
FROM T_RECORDING
Where id = '000000'
It is reasonable to say that the query result based on this
A union array is previously called a PL/SQL table. Union arrays cannot be used in tables. They can only be used as structures for programming. Union Arrays can only be accessed in PL/SQL.
It is very important to note some key issues brought about
1. Add a text box to the corresponding position in the report page layout, which is generally Download
Right-click a link in the PL/SQL editor and add the following content:
Copy codeThe Code is as follows: function B _13FormatTrigger return boolean
If a lock wait occurs, we may want to know who has locked the table and who has waited.The following statement can be used to query who has locked the table:
Copy codeThe Code is as follows: SELECT/* + rule */s. username,
Decode (l. type, 'TT',
Note:
1. If you open it in PL/SQL or other tools, directly modify the [italic bold part] in the following code to execute
2. Make sure that the path exists, for example, [D: \ oracle \ oradata \ Oracle9i \], that is, the path of the file to be
How does one return table variables in Oracle functions?
It's too late, so I won't talk about it if I have too much theoretical knowledge. Let's talk about implementation in a simple way !..
1. Create a table object type.
To return table objects in
1. Install the Oracle Client
The premise of connecting to Oracle is to install the Oracle Client on the SQL Server. The Oracle Client is as follows:
Http://www.oracle.com/technetwork/cn/database/enterprise-edition/downloads/index.html
After the
1. The ORACLE parser processes the table names in the FROM clause in the order FROM right to left. Therefore, the table written in the FROM clause (basic table driving table) will be processed first. When the FROM clause contains multiple tables,
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