Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Oracle inline view updates problems encountered     - php How to prevent being injected (Linux)

- How to display a dialog Bash Shell script (Programming)

- Java NIO1: I / O model overview (Programming)

- Linux password file security issues detailed usage (Linux)

- VSFTPD Security (Linux)

- Configuring Allatori code confusion when developing general Java applications in NetBeans (Programming)

- MySQL innodb_table_stats table does not exist solution (Database)

- Killall five options you might not know (Linux)

- MogileFS system installation configuration example (Server)

- Performance Optimization: Using Ramlog transfer log files to memory (Linux)

- Workspace Go language and environment variables GOPATH (Linux)

- Comparison of one-time transaction and CTE insert data (Database)

- Make full use of the Raspberry Pi SD card space (Linux)

- Recent Consolidation Using Linux security module (Linux)

- Ubuntu 14.10 install KDE Plasma 5.2 (Linux)

- Nginx load balancing configuration (TCP proxy) (Server)

- Wildcards and special symbols usage comments under Linux (Linux)

- CentOS 6.5 installation and configuration Cobbler (Server)

- Ubuntu 12.04 installation instructions under GAMIT10.40 (Linux)

- Linux System Getting Started Learning: Change the name of the network interface on CentOS7 (Linux)

 
         
  Oracle inline view updates problems encountered
     
  Add Date : 2017-04-13      
         
         
         
  Encounters a batch update needs, I intend to use an inline view updates + where in list processing techniques.

UPDATE (

    SELECT / * + BYPASS_UJVC * / *
    FROM mvbox_space.music_original t1
        INNER JOIN (
            SELECT REGEXP_SUBSTR (value_str, '[^,] +', 1, 1) AS p1, REGEXP_SUBSTR (value_str, '[^,] +', 1, 2) AS p2
            FROM (
                SELECT SUBSTR (inlist, INSTR (inlist, ';', 1, LEVEL) + 1, INSTR (inlist, ';', 1, LEVEL + 1) - INSTR (inlist, ';', 1, LEVEL) - 1) AS value_str, level AS l
                FROM (
                    SELECT ';' || '20077,1; 20078,2' || ';' AS inlist
                    FROM DUAL
                )
                CONNECT BY LEVEL < = LENGTH ( '20077,1; 20078,2') - LENGTH (REPLACE ( '20077,1; 20078,2', ';', NULL)) + 1
            )
        ) T2 ON t1.opus_id = t2.p1
)
SET visit_num = nvl (visit_num, 0) + p2, total_today = nvl (total_today, 0) + p2, total_this_week = nvl (total_this_week, 0) + p2, total_this_month = nvl (total_this_month, 0) + p2

    10.2.0.1 through the test library.
    But to get online 10.2.0.4, actually given, this internal HINT no effect.
    Later rewritten as

MERGE INTO mvbox_space.music_original t1

USING (
    SELECT REGEXP_SUBSTR (value_str, '[^,] +', 1, 1) AS p1, REGEXP_SUBSTR (value_str, '[^,] +', 1, 2) AS p2
    FROM (
        SELECT SUBSTR (inlist, INSTR (inlist, ';', 1, LEVEL) + 1, INSTR (inlist, ';', 1, LEVEL + 1) - INSTR (inlist, ';', 1, LEVEL) - 1) AS value_str, LEVEL AS l
        FROM (
            SELECT ';' || '20077,1; 20078,2' || ';' AS inlist
            FROM DUAL
        )
        CONNECT BY LEVEL < = LENGTH ( '20077,1; 20078,2') - LENGTH (REPLACE ( '20077,1; 20078,2', ';', NULL)) + 1
    )
) T2 ON t1.opus_id = t2.p1
WHEN MATCHED THEN UPDATE SET t1.visit_num = NVL (t1.visit_num, 0) + t2.p2, t1.total_today = NVL (t1.total_today, 0) + t2.p2, t1.total_this_week = NVL (t1.total_this_week, 0 ) + t2.p2, t1.total_this_month = NVL (t1.total_this_month, 0) + t2.p2
     
         
         
         
  More:      
 
- Use Aptik Battery Monitor monitoring Ubuntu laptop battery usage (Linux)
- To install network scanning and packet sniffer tool Nmap 7.00 under ubuntu (Linux)
- Python function arguments * args and ** kwargs usage (Programming)
- Share Practical Tutorial GitHub (Linux)
- Ubuntu Slingscold (Linux)
- Linux Getting Started tutorial: XWindow what (Linux)
- How Mutt mail client to use cipher text password (Linux)
- Using the Linux VNC service (Server)
- Good wireless network security information spread in the air (Linux)
- Install Gnome Flashback Classic Desktop on Ubuntu 14.10 / Mint 7 (Linux)
- It is time to upgrade your gulp 4.0 (Programming)
- Laravel 4.2 Laravel5 comprehensive upgrade Raiders (Server)
- Use Vagrant build cross-platform development environment for Python (Server)
- Redis master-slave replication switch (Database)
- AngularJS - Getting Started with Routing (Programming)
- SQLite (Database)
- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)
- Ubuntu 14.10 installation GNOME 3.14 (Linux)
- Linux scheduling summary (Linux)
- Linux Command Tutorial: cat command to view the contents of the file (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.