1. Create an oracle typeCreate or replace type bcescde. ibps_acct_amt_record_type is object (Old_channel_seq_no varchar2 (30), -- channel serial number applied for the original queryPartyno varchar2 (12), -- customer IDAgreement_no varchar2 (60), --
Quick query of Oracle function list
2004-10-20 22:53:13
PL/SQL single-row functions and group functionsA function is a program with zero or multiple parameters and a return value. Oracle has a series of
In Oracle, how does the following script map all objects owned by a user, tables, sequence, and procedure... Delete all.
1. Drop object method. Delete all foreign key constraints first.
Declare
Type cst_table_list is table of varchar2 (40 );Type
After a long period of learning to create Oracle tablespaces, I would like to share with you that you will certainly have a lot of gains after reading this article. I hope this article will teach you more things.
1. First query free space
1
Since Oracle does not have the for win7 version, you must download the for vista_w2k8 version, decompress the Oracle 10g installation image to the hard disk, and then modify the rehost in the installation directory. XML and oraparam. INI files.:Http:
1. Oracle System ArchitectureUnlike other database products, Oracle has its own unique system architecture. The Oracle system architecture is the framework of the entire ORACLE Server System and the basis and core for managing and applying ORACLE
The first time I came into contact with Oracle databases, I felt that he had a lot of superiority over other databases. Especially in terms of running speed, I tried Oracle10g operations in Linux, the speed is more than 4 times faster than in
Why can Oracle varchar2 (4000) connect with the JDBC thin driver only store 666 Chinese characters?
Who says they can only store 666 Chinese characters?
Varchar2 is a maximum of 4000 bytes, So it depends on your Oracle character set. If the
Utl_file.fopen in the file operation package utl_file provided by racle is responsible for opening a file.
Utl_file.fopen (location in varchar2, filename in varchar2, open_mode in varchar2) return file_type;Location is the path parameter,Filename
For Oracle DBAs, table space monitoring is an important task of daily and regular monitoring.
Table space monitoring includes table space status, data files, table space usage, and remaining conditions.
1. Table space list:
SQL> select * from V $
15. AbsReturns the absolute value of a specified value.SQL> select ABS (100), ABS (-100) from dual;
ABS (100) ABS (-100)------------------100 100
16. ACOsReturns the arc cosine value.SQL> select ACOs (-1) from dual;
ACOs (-1)---------3.1415927
17.
Sometimes, when we perform database connection tests or deploy the system, we may encounter problems with data. Let's share one of my experiences over the past two days.
The scenario is as follows: the project needs to be transferred to other
First, you must have a table!Create Table example (ID number (4) not null primary key,Name varchar (25 ),Phone varchar (10 ),Address varchar (50)
);
Then, you need a custom SequenceCreate sequence emp_sequenceIncrement by 1 -- add severalStart with 1
1. Create a stored procedureSQL> Create or replace function get_sal3 (name varchar2)2 return number is3 v_sal number (6, 2 );4 begin5 select Sal into v_sal from EMP where upper (ename) = upper (name );6 RETURN v_sal;7 end;8/
The function has been
We usually have no choice at the raid array level when deploying servers. RAID technology has grown into dozens of categories today, but there are only a few commonly used in production systems, for example, 0, 1, 5, 0 + 1. Readers may be familiar
Oracle 9i contains the XDB feature by default when creating a database. Once the database and Listener are started, Oracle XDB starts the http service.
It is easy to disable the XDB service of oracle. just remove the initialization parameters of the
CREATE TABLE AREAS
(
Radius number (5 ),
Area number (14,2)
);
Method 1: Use gotoDECLARE
Pi constant number (9, seven): = 3.1415927;
Radius INTEGER (5 );
Area NUMBER (14, 2 );
BEGIN
Radius: = 0;
LOOP
Radius: = radius + 1;
IF radius = 4
THEN
GOTO
Clustering factor
We often discuss when to use indexes and when to use a full table: what we may say is the most data size needed and the proportion of the data in the table. Some people say that the index is less than 20%, some people say that
1. Latch description
1.1 Latch
Latch is a serial lock mechanism used to protect the shared data structure in the SGA zone. The implementation of latch is related to the operating system, especially whether a process needs to wait for a latch and how
Today, oracle SQL plus performed the delete and query operations and then the query operations in PL/SQL. The results of the same statements were different, which made me feel quite depressed, later, I suddenly thought that the data on both sides
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