1.clob field Insert value Create or replace procedure Updateclob (
table_name in VARCHAR2,
field_id in Varchar2,
Field_name in Varchar2,
v_id in number,
V_pos in number,
V_clob in VARCHAR2)
Is
-- -------------------
/**//* Dynamic pl/sql, CLOB Field
Decode (divisor, 0, show 0%, not zero normal expression) instead of the original that there is a possibility of 0 of the expression in addition to the error
Resolution: Select Decode (b,0,0,a/b*100) per from AA;
(1) The meaning of decode
Meaning
The RAC nature is also a database, using a distributed lock manager. The DLM role is to coordinate competitive access to resources between instances, while competition within instances is the same as for single instances. In a RAC database, a node
Openscript is now a strange name for many people, but it is estimated that with the 9.0 official version of the market in June, it will be known to more and more people, And users will find this tool really useful, especially for users who are
Bywhhuang question:
Oracle installed to the root directory, the root directory is not enough space, add a hard drive mount to the home, the table space to transfer data files to the home directory.
Hard disk Format
The newly added hard drive needs
Assuming that the data user USER1 uses the default tablespace TS1, the user USER2 uses the default table space TS2, and now imports USER1 data into USER2, which requires tablespace TS2.
It is not possible to specify tablespace through imp command
The lag and lead functions can fetch the first n rows of data (lag) and the latter n rows (leads) of the same field in the same query. This type of field can be implemented using table joins to the same table, although using lag and lead functions
Hint in Oracle can be used to adjust SQL's execution plan and improve SQL execution efficiency. The following categories describe the common hint in Oracle databases. It is described here that the hint in each version of the common Hint,oracle
The size of the file supported by Oracle and the number of his db_block_size and Db_block are determined. Prior to Oracle 9i, Oracle had a maximum of 2 db_block, while the db_block_size of the database instance we built through the Oracle default
Difference between left Outer join and Outer Association (+) in "original" Oracle 2008-03-23 16:22:37
url:http://space.itpub.net/?uid-6517-action-viewspace-itemid-216974
difference between on and where in Oracle's left join 2009-09-28
Single line function
A function is the same as the functionality of a method in the Java language to perform functional support for certain operations. And now the Oracle database weight also contains a large number of single-line functions,
This article I have, the right to record inquiries, the original to the current torch Oracle Lunar goddess
[Oracle@lunar ~]$ sqlplus/as sysdba sql*plus:release 11.2.0.3.0 Production on Fri Mar 23:46:35 2013 Copyrigh T (c) 1982,
Navicat for Oracle
--Powerful Oracle database management and development tools
Www.innovatedigital.com Finishing
The ability to import and export multiple formats makes it easy to maintain the data.
batch work scheduling process, effectively
Group By Type field, sort by code, and remove the first record from each group
Method One:
Select Type,min (code) from Group_infoGroup By type;
Note: The columns following the select are included in the GROUP BY clause, or with aggregate
Oracle Archive mode and non-archive mode Setup
Oracle's Log archive model effectively protects against instance and disk failures, is essential in database failure recovery, and needs to be set to archive mode as the Oracle initial installation mode
Objective
Learning stored procedures is premised on understanding plsql syntax and how to write.
To learn about Plsql, check out the previous summary.
Our following table operations may be based on the following two tables:
We create an employee
Weather hot, weekend at home knocking code found a strange SQL, when using the LEFT JOIN table to join the left-hand query, a-B, before a-table row a good order, suddenly confused, the first line of records ran to the last, the descending order into
Using the reverse index (index DESC), you can significantly increase the performance of SQL statements with an ORDER BY DESC clause.
Another way is to create a reverse index, such as:CREATE INDEX T_IDX on table_name (time DESC);This creation, the
First, say the question
In the development process, you encounter situations where Oracle DDL statements and DML statements need to be handled in one transaction, either successfully or fail. For this problem, databases such as SQL Server can be
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