Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

cr_regions.sql

---------------------------------------------------------------------------
-- Filename:    cr_regions.sql
-- Purpose:     Creates the REGIONS table and its public synonym.
-- Author:      Chas. Dye (cdye@excitecorp.com)
-- Date:        12-Jan-1998
---------------------------------------------------------------------------
set echo on
set termout on
spool regions.log

DROP PUBLIC SYNONYM regions
/
DROP TABLE regions CASCADE CONSTRAINTS
/
CREATE TABLE regions (
region_id    NUMBER(6)      NOT NULL,
country_id   NUMBER(6)      NOT NULL,
region_name  VARCHAR2(15)   NOT NULL,
audit_date   DATE           NOT NULL, 
audit_user   VARCHAR2(30)   NOT NULL, 
global_name  VARCHAR2(20)   NOT NULL
)
TABLESPACE sprocket_data STORAGE (INITIAL 16K NEXT 16K PCTINCREASE 0)
/

CREATE PUBLIC SYNONYM regions FOR regions
/

spool off
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata