10.1 alarm (dbms_alert
ProgramPackage)
Dbms_alert is generally a one-way asynchronous communication triggered when a transaction is committed. No message is sent to the alert unless the transaction is committed.
Before the transaction is
1. Install a XP Virtual PC
2. Start Virtual Machine
3. Install guest additions: menu bar-> devices-> install guest additions...-> next-> Note: virtual guest additions is checked by default-> install
4. Now observe menu bar-> machine-> disable
Python is always garbled to connect to Oracle.FatuxThis is found in the Baidu blog.ArticleSolved my problem. Record it here and express thanks.
(The character set is al32utf8)
The following statements must be added to the Python script:
Import
1. Open PL/SQL developer
If PL/SQL developer is installed on the machine, open the PL/SQL developer interface.
Enter the user name, password, and host name.ProgramThe configurations in Web. config are exactly the same. Click OK.
Find the
A job is a storage program scheduled to run at a specific time or after a specific event.
9.1 dbms_job package
The dbms_job package submits a job to the job queue. Job Queue is the place where jobs are stored. You can arrange this through Job
5.1 big Object Data Types
1. Large Object Data Types (LOB) can store up to 4 GB of unstructured data (such as text, images, video clips, sound signals, etc ).
Object Location description
Large internal character objects of clob, which store up to 4
Oracle trunc () function usage
1. trunc (for dates) The date value intercepted by the trunc function for the specified element.The syntax format is as follows:Trunc (date [, FMT])Where:Date: A date value.FMT date format, which is truncated by
Document directory
Syntax:
Example:
Output:
Use ohters to handle all errors
Raise_application_error Function
When writing an oracle stored procedure, many things are stored in the stored procedure, such as some judgments. This is much
Thanks for sharing Baidu space yinaddress.
For rownum, it is assigned fromQueryNumber of the row to be returned. The first row to be returned is allocated 1 and the second row is 2. Therefore, this pseudo field can be used to limitQueryThe total
If the table contains data, Oracle cannot modify its data type. However, you can create a temporary column, copy the data of the column to the temporary column, delete the original column, and modify the name of the temporary column. In this case,
Oracle I used 10 Gb. Several problems were found after downloading the client for installation. The record is as follows:
Support for Windows 7
The Oracle10g client only supports Windows 6.0 and does not support Windows 7. You need to make the
Three methods for creating an Oracle database:1. run Oracle Database Configuration assistant to create or delete a database (you can also enter dbca in the command line );2. Create a database using command line3. Create or delete a database by
Release date: 2007.11.22 Source: Saidi network-information center Author: Wang Mu
According to a report on June November 16, Microsoft officials said that when SQL Server 2008 is released in the future, Microsoft will invest
Dblink is inevitably used for distributed databases, but there is very little information about dblink. Many books have mentioned it, but it is not detailed.
A database link defines a single-row communication channel from one Oracle database to
View code 1, for example, adds a flow field to a table, which is not empty and unique.
2. The table data volume is 3000000.
3. Assume that the table name is test.
4
5 1. Use cursor.
6 declare
7 cursor c_test is select rowid from test;
8 v_test
In the query, we can note that a query similar to "select XX from table where rownum 1) has a correct meaning, the query "select XX from table where rownum = N" is only valid when n = 1, "select XX from table where rownum> N" (n> 1) such a query
CREATE OR REPLACE TYPE wm_concat_impl AUTHID CURRENT_USERAS OBJECT ( curr_str VARCHAR2 (32767), STATIC FUNCTION odciaggregateinitialize (sctx IN OUT wm_concat_impl) RETURN NUMBER, MEMBER FUNCTION odciaggregateiterate ( SELF IN
Implement select Top N in Oracle:Since Oracle does not support the select top statement, order by and rownum are often used in Oracle.To query the select Top N.To put it simply, the implementation method is as follows:Select column name 1... column
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