The target implementation records the start time, end time, running status, and error information of the stored procedure, and encapsulates log records using functions, stored call function source code stored procedure template
Oracle Study Notes 12 subroutines (stored procedures, custom functions) and packages, oracle Study NotesSubroutine: A named PL/SQL block, which is compiled and stored in a database. Subprograms: 1. declaration Part 2. executable part 3. exception
(I) function index traps when using function indexes, you must re-build the function index after the function code is changed. Otherwise, Oracle will return an error result but will not be prompted for the following test: [plain] viewplaincopyprint?
Overview
Procedures and functions in pl/sql, often called subroutines, are a special type of pl/sql blocks that can be stored in a database in a compiled form and invoked for subsequent blocks.
Same point: A program that completes a specific
This post is transferred from Http://bbs.pgsqldb.com, and two posts are joined together.
A lot of content is online search information, I just tidy up, there are missing places, welcome to add
First Use tool (ORA2PG) to automatically
Principle
The acquisition program actually uses the XMLHTTP component in the XML to invoke pages on other web sites. For example, news acquisition program, many are called Sina's news page, and some of the HTML has been replaced, while the ads also
(1) DES encryption function
Create or Replace function
encrypt_des (p_text varchar2, P_key varchar2) return varchar2 is
v_text varchar2 (4000) ;
V_ENC varchar2 (4000);
Raw_input RAW (128);
Key_input RAW (128);
Decrypted_raw Raw (2048);
Begin
Turn from: https://www.byvoid.com/blog/cpp-string
///////////////////////////////////////////////////////////////////////////////////
C + + language is a very good language, but excellence does not mean perfect. There are still many people who are
Oracle
Result Sets from Stored procedures in Oracle
A Frequently asked question is:
I ' d like to know whether ORACLE supports procedures (functions) which
Returns result sets.
The answer is most definitely yes. In short, it ' ll look like this:
oracle| Conversion | string
How to implement the ASC string and 16-string conversion in Oracle
Welcome everyone to communicate with me: Enhydraboy enhydra_boy@tom.com
Welcome to reprint, please keep this statement, thank you!
The following is the
In Oracle, the WM_CONCAT function is an aggregate function similar to the GROUP_CONCAT function in MySQL, but the Group_concat function is powerful and can define delimiters and sorts, and of course the so-called strong is relative, If we don't know
PostgreSQL function is huge, to achieve multiplication this kind of operation has many methods, today I will briefly enumerate the following several convenient ways.Like we're counting 10!1, you can use SQL to expand it:t_girl=# Select 1*2*3*4*5*6*7*
Original address: Https://oracle-base.com/articles/misc/efficient-function-calls-from-sqlHttp://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51asktom-453438.html1. Description of the problemWe say a function is deterministic (deterministic),
Description of stored procedure and stored function: Store function has return value! The stored procedure does not return a value!A subroutine stored in a database that is called by all user programs is called a stored procedure, stored
In PostgreSQL, all the storage function requirements can be implemented using Plpgsql. It also supports the use of third-party languages to write, which depends on which aspect of your proficiency.However, it is important to note that plpgsql
Welcome to the Oracle community forum and interact with 2 million technical staff to enter the hexadecimal string ASCII string to distinguish character sets. Take Chinese characters as an example. The database character set is Chinese, it should be
1. PLSQL provides us with a mechanism called a storage subroutine that allows us to share PLSQL code between applications. The PLSQL code can be stored in the database. 2. The storage subroutine is a named PLSQL block stored in the database. PLSQL9i
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.