⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 samename.sql

📁 介绍Oracle PL SQL编程
💻 SQL
字号:
/*
 * samename.sql
 * Chapter 10, Oracle10g PL/SQL Programming
 * by Ron Hardman, Michael McLaughlin and Scott Urman
 *
 * This script demonstrates user defined triggers.
 */

-- Legal, since triggers and tables are in different namespaces.
CREATE OR REPLACE TRIGGER inventory
  BEFORE INSERT ON inventory
BEGIN
  INSERT INTO temp_table (char_col)
    VALUES ('Trigger fired!');
END inventory;
/

-- Illegal, since procedures and tables are in the same namespace.
CREATE OR REPLACE PROCEDURE inventory AS
BEGIN
  INSERT INTO temp_table (char_col)
    VALUES ('Procedure called!');
END inventory;
/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -