C #CodeTo add data to the Oracle database table. The SQL statement is checked in pl SQL and can be added successfully.
But when the code is executed, an error is reported. Invalid character of invalid character.
Check the code and compare the SQL
-- Three methods can be implemented:-- Method 1: The version of wmsys. wm_concat Oracle must be 10 Gb or above.-- Method 2: Use sys_connect_by_path for the Oracle version 9i and below-- Method 3: Use User-Defined Functions
-- I will give you an
Dec 04,200 2
Q: Install Oracle 8i on AIX 5l
While run "runinstaller" to install Oracle 8.1.7 64bit for AIX on AIX 5l platform, it shows the error like "directory/tmp/orainstall can not access or the size of the Directory less than 25 m, please
Apply the trigger to the unique value of the corresponding field when inserting the table
-- Create an incremental SequenceCreate sequence lzeam_sp_loop_eq_seq minvalue 1 increment by 1 start with 1
Test:Select lzeam_sp_loop_eq_seq.nextval from
Some data formats may be incorrect when basic user data is converted ..
For example: 2000-1-1 ==> 2000-01-01, 2000-01-1 ==> 2000-01-01, 2000-1-01 ==> 2000-01-01
I used to write a function/procedure script and a large number of if else scripts..
Select sysdate, systimestamp, current_date, current_timestamp from dual;
This statement returns three versions of the current system time, which is also called the default time of the time zone of the current session of the system.
Sysdate
Brief description of Oracle structure:Install Oracle> Create Database> Create mode or schema> Create Table> table
There is no problem in installing Oracle-"to create a database. But how to create a solution is the corresponding solution items
-- The latest security warning from Oracle!The patches listed in the patch availability matrix fix the potential vulnerabilities identified in Oracle Security Alert #68. Future releases of the Products affected will contain the fixes by
Installing ing Linux for the installation of Oracle Database 10
GPurpose
In this lesson, you learn how to configure Linux and prepare for the installation of Oracle Database 10G.Topics
This lesson covers the following topics:
Overview
1. What is the Oracle character set?
The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. Oracle supports the national language
In actual work, we often encounter a problem when building a custom search engine, that is, implementing some type of paging function. That is to say, you can submit a query that returns many rows of data, but only the first 20 rows are displayed.
1. Date interval operation
Current Time minus 7 minutes
Select sysdate, sysdate-interval '7' minute from dual
Current Time minus 7 hours
Select sysdate-interval '7' hour from dual
Current Time minus 7 days
Select sysdate-interval '7' day from
Requirement/Introduction
This is a simple modification of the sequence value based on the number of rows in a sequence table so that it does not conflict first when the business occurs. This function is usually required after batch operations on the
Autonomous transactions
Summarize and analyze the problems encountered in the field. The core issue is that the Oracle transaction commit mechanism is not fully understood, and Oracle autonomous transactions are ignored.
Definition
An autonomous
Oracle paging query statements can be applied in the format given in this article. Paging Query format: Select * from
(
Select a. *, rownum Rn
From (select * From table_name)
Where rownum )
Where rn> = 21 where the innermost query select * From
-- 1: no order by statement. (Most efficient)
-- (After testing, this method has the lowest cost. Only one layer is nested, and the speed is the fastest! Even if the queried data volume is large, it is almost unaffected and the speed is still high !)
Common Oracle management SQL commands
Database Version
SQL> select * from V $ version;Banner----------------------------------------------------------------Oracle9i Enterprise Edition Release 9.2.0.1.0-ProductionPL/SQL release
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