Oracle Trigger plus conditional judgment, Dblink

--new base station synchronization to battery pack informationCreate or Replace TriggerA_b_test AfterInsert or Update or Delete onBJLT. Basestation--referencing new as New_val old as Old_val--Set the name here, and then you can reference the value

Oracle Series: (11) General function and conditional judgment function

Using NVL (A, B) General function, statistical employee annual income, NVL () acting on any type, ie (number/varchar2/date)General function: The parameter type can be number or varchar2 or date typeSelect ENAME,SAL*12+NVL (comm,0) from EMP;650) this.

Querying SQL statements that Oracle is executing and executing

---正在执行的select a.username, a.sid,b.SQL_TEXT, b.SQL_FULLTEXT  from v$session a, v$sqlarea b where a.sql_address = b.address ---执行过的select b.SQL_TEXT,b.FIRST_LOAD_TIME,b.SQL_FULLTEXT  from v$sqlarea bwhere b.FIRST_LOAD_TIME between ‘2009-10-15/09:24:47

View Oracle database and table information

--View All tables under this user in the ORACLE databaseSELECT table_name from User_tables;--View All tables under All users in the ORACLE databaseSelect User,table_name from All_tables;--View all columns under this user in the ORACLE databaseSelect

Oracle Series: (7) ORDER BY clause

Query Employee information (number, name, salary, annual salary), sorted by monthly salary, ascending by default, sorted by Oracle built-in check rule if monthly salary is the sameSelect empno,ename,sal,sal*12 from emp order by SAL ASC;Query

Oracle database Table Space Expansion method

1. Check the location of the table space on the physical disk, and pay attention to the login using SYSDBA's account.SELECTfile_id file_name round/(1024x768 * 1024x768 0 from ORDER by2. The table space that needs to be expanded is Dw_stg_tbs, the

Oracle EBS Upload Form compilation

1. BackupCD $CUXWL _TOP/12.0.0/FORMS/ZHS/d01/cwtest/apps/apps_st/appl/cuxwl/12.0.0/forms/zhsll CUXWL_PO_RCV*.FMXCuxwl_po_rcv2.fmxCuxwl_po_rcv.fmxExtended:CP Cuxwl_po_rcv2.fmx{,.bak}CP Cuxwl_po_rcv.fmx{,.bak}If there is a problem with the deployed

Oracle SQLLDR Import data

BackgroundTXT text for 900W data, the contents of the file are in the fields "|" Delimited, use Nevicat import too slow SolutionsUsing SQLLDR to import data,1) Setting up the configuration file Test.ctl[email protected] ~]$ cat Test.ctlLoad

Understanding of Oracle Stored Procedures

In college when the major is the database management major, in the school learned a variety of data MSSQL, ORACLE, MySQL.At that time, most of the data learned only a few fur, only in accordance with the book SQL statements, input computer results,

Oracle View all Users

1. View All Users:SELECT * from Dba_users;SELECT * from All_users;SELECT * from User_users;2. View user or role system permissions (System permissions that are directly assigned to a user or role):SELECT * from Dba_sys_privs;SELECT * from

ASP. NET cache implementation relies on Oracle's caching policy

The cache in ASP. NET provides support for SQL dependencies, which means that when the data in a table or row in a SQL Server database is changed, the pages in the cache are invalidated, otherwise the page output remains in the cache. This does

Oracle Network Monitoring

Here's a look at the monitoring configuration in the Oracle network:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/86/57/wKioL1e8W1XhBxylAABNjdsDQZs648.png "title=" Qq20160823221132.png "alt=" Wkiol1e8w1xhbxylaabnjdsdqzs648.png "/>How

Oracle 11g parameter file types and functions

Classification of parameter files:Spfile:server parameter fileBinary format, out of file system bondageCan only be placed on server sideBetter consistencyOnly use SQL commands to modifySPFile priority is higher than pfileNaming rules: Spfile.ora &

Two ways to clear table data in Oracle

1. Delete from T2. TRUNCATE TABLE TDifference:1. Delete is a DML operation; Truncate is a DDL operation and DDL Implicit commits cannot be rolled back2, delete from T can be rolled back, TRUNCATE TABLE t can not be rolled back3. TRUNCATE TABLE T

Oracle Additions and deletions

Oracle Starter Case:1. Create an entity class student and override the ToString method Packagecn.happy.entity; Public classStudent { PublicInteger getId () {returnID; } Public voidsetId (Integer id) { This. ID =ID; } PublicString GetName () {

"Go" Oracle Sequence

http://blog.csdn.net/zhoufoxcn/article/details/1762351In Oracle, sequence is the serial number, which automatically increases each time it is taken. Sequence is not related to tables.1. Create SequenceFirst, create sequence or create any sequence

Solutions for Oracle EXP-00091

[SQL]EXP-00091: The problematic statistics are being exported. Www.2cto.com. . Exporting table Wf_general Export EXP-00091: Problem statistics are being exported ... . Exporting table Wf_plan_book Export EXP-00091: Problem statistics are being

HTTP access for Oracle

Oracle leverages the UTL_HTTP package to provide access to HTTP tools.The following code is online search, you can run directly in the Plsql.DeclareReq Utl_http. REQ;Resp Utl_http. RESP;Val varchar2 (32767);BeginReq: = Utl_http. Begin_request ('

Oracle View user Action SQL statements and database logs

--View Log filesSelect member from V$logfile;--View Table space usageSELECT SUM (bytes)/(1024x768 * 1024x768) as free_space, Tablespace_nameFrom Dba_free_space GROUP bytablespace_name; Selecta.tablespace_name, a.bytes total, b.bytes used,

Oracle Database ASM Disk Group +asm2_arch High utilization rate

View processPs-ef |grep Pmon# su-oracle[You have NEW MAIL]$ sqlplus/as SYSDBASql*plus:release 10.2.0.4.0-production on Mon Feb 9 16:30:23 2015Copyright (c) 1982, Oracle. All rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release

Total Pages: 2147 1 .... 1153 1154 1155 1156 1157 .... 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.