Oracle Plsql sending e-mail code via SMTP

Log in to smtpserver send mail, support HTMLCREATE OR REPLACE PROCEDURE send_mail (       p_recipient VARCHAR2,--mail recipient         P_subject   VARCHAR2,--mail header        p_message   VARCHAR2  --message body  )  IS     --The following four

Oracle View lock process, delete lock

View the lock table process SQL statement 1:Select Sess.sid,sess.serial#,Lo.oracle_username,Lo.os_user_name,Ao.object_name,Lo.locked_modeFrom V$locked_object Lo,Dba_objects AO,V$session Sesswhere ao.object_id = lo.object_id and lo.session_id =

Oracle or PL/SQL automatic disconnection Solution reference

Oracle Auto-Disconnect database connection workaround method One, the direct modification of the resource configuration file is done in three steps in the Sqlplus environment.        The first step is to query the resource file and find the profile

Windows startup shuts down Oracle snooping and services

Often use the database, let him start the words, the boot is too slow, so use the command to start a convenient point.1. Open:Enter CMD in the run, enter the console, Lsnrctl start Enter, prompt to start monitoring after successfulnet start

zbb20170728 Oracle View locked objects

querying SQL statements that Oracle is executing and executing--query Oracle Executing SQL statement and the user who executes the statement select B.sid Oracleid, B.username Log in to the Oracle user name, b.serial#, spid os ID, PADDR, sql_text

Oracle JET uses Requirejs third-party tools or libraries to introduce

Use Requirejs to add third-party tools or libraries in Oracle JET applications.Steps:1. If you use a tool frame scaffold, you need to do it.A. Use NPM to install the libraries you need.NPM Install My-library--saveB. In the Script/grunt/config

Management of Oracle Tables

Data type:Character typeChar fixed length, maximum 2000 charactersvarchar LONG, max 4000 charactersCLOB (character large object) character type large objects, Max 4GNumber TypeNumber Range (10-38 Square to 10 38-square, fractional integer

Oracle Tablespace Insufficient Solution

There are two reasons why Oracle table space is low:1. The original table space is too small, no self-growth;2. Table space has grown and table space is large enoughCheck Cause:1. View the table in that table spaceSelectTablespace_name,table_name

Triggers for Oracle

Used to do projects.Is the code behind the front-end. Because the database is written to the project manager. Own database and not much optimization, long time, instead of the knowledge of the database to forget, the recent project is to use the

Oracle Database SELECT statement

Select * fromEmp--All data in EMP tableSelect * fromEmpwhereEnameinch('SMITH')--The data where ename is snith in the EMP tableSelectEname||'Is a' asIname fromEmpwhereEname= 'SMITH'--rename Ename Pius ' is a ' to InameSelectSal|| '_'||Ename

How Oracle Unlocks SOCTT users

Completed Oracle 10g database and forgot to unlock the Scott account. This can be in the SQL Plus tool (start | All Programs || Application Development | SQL Plus), or you can unlock the Scott account from the console via the command line.In the

Oracle view table structure and annotations

To view the table structure:See field names and data typesSELECT * FROM cols WHERE table_name=upper (' table_name ')To view the primary key:SELECT * from user_constraints where constraint_type= ' P 'and Table_name=upper (' table_name ')Other than

Oracle (data files)

--Create a data fileCreateTablespace--Create a table space and create a data file at the same timeCreate TemporaryTablespace--Create a temporary data file while creating a temporary table spaceAlterTablespace ...AddDataFile--to add a data file to a

Oracle EBS lov Speed optimization

First, the phenomenonThis address: http://blog.csdn.net/sunansheng/article/details/50952758When our EBS Lov SQL is more complex to write. or more data volume, Lov pop-up display speed, or directly fill in the number and then move to the other input

Oracle accesses MSSQL via Gateway

Meet a customer, there is a need to extract data from MSSQL into Oracle. After searching the internet, I feel that the Gateway tool can be implemented, so we will set up an experimental environment for testing. First download the corresponding

Basic data types for getting started with Oracle

1, char (size) holds a string, it can hold a maximum of 2000 characters, is a fixed length.To illustrate:CREATE table test1 (name char); The name field in the//test1 table holds a maximum of 32 characters and less than 32 characters Oracle will use

Oracle 11.2.0.4.0 Dataguard Deployment and routine maintenance (5)-datauard Primary and Standby switchover and failover chapter

1. Dataguard Primary and Standby switching1.1. Check if the current master repository has switching conditions On slave SelectSequence#,first_time,next_time,archived,applied fromV$archived_logwheresequence#=(Select Max(sequence#) fromV$

Oracle tablespace table space creation and management

1. Overview of Table Spaces1. Tablespace is a logical part of a database. 2. Physically, the database data is stored in the data file; 3. Logically, a database is stored in a table space, and the tablespace consists of one or more data

Oracle's fixed_date parameters

We know that the normal execution of select Sysdate from dual in the Oracle database can return the system time of the current host.When the system time is changed normally, the corresponding query result becomes the modified system time.Now there

Test 2 ORACLE Flashback recovery data

Flashback recovering dataPreparatory work:1. Create a table spaceCreate tablespace zxq datafile ' d:\zxq.dbf ' size 2m;2. Create a userCreate user Zxq identified by zxq default Tablespace zxq;3. Create a test tableCREATE TABLE Zxq.zxq as SELECT *

Total Pages: 2147 1 .... 1141 1142 1143 1144 1145 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.