Skip to content

Commit 004d5f3

Browse files
authored
Merge pull request #2 from jorgerdc/master
Adding changes for Ordim desupport. Changes tested in RDBMS transaction
2 parents 9904971 + 057dd32 commit 004d5f3

25 files changed

+12
-204
lines changed

product_media/dimm1.jpg

-10.7 KB
Binary file not shown.

product_media/dimm1.mpa

-767 KB
Binary file not shown.

product_media/dimm1.rm

-952 KB
Binary file not shown.

product_media/harddrive.jpg

-20.7 KB
Binary file not shown.

product_media/harddrive.mpa

-596 KB
Binary file not shown.

product_media/harddrive.rm

-775 KB
Binary file not shown.

product_media/keyboard.mpa

-282 KB
Binary file not shown.

product_media/keyboard.rm

-736 KB
Binary file not shown.

product_media/laptop.jpg

-14.5 KB
Binary file not shown.

product_media/laptop.mpa

-645 KB
Binary file not shown.

product_media/laptop.rm

-834 KB
Binary file not shown.

product_media/modem.mpa

-414 KB
Binary file not shown.

product_media/modem.rm

-491 KB
Binary file not shown.

product_media/monitor.mpa

-131 KB
Binary file not shown.

product_media/monitor.rm

-318 KB
Binary file not shown.

product_media/mouse.jpg

-16.6 KB
Binary file not shown.

product_media/mouse.mpa

-219 KB
Binary file not shown.

product_media/mouse.rm

-501 KB
Binary file not shown.

product_media/mousepad.rm

-404 KB
Binary file not shown.

product_media/pm_cre.sql

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Rem
2-
Rem $Header: pm_cre.sql 13-dec-2002.10:01:50 ahunold Exp $
2+
Rem $Header: pm_cre.sql 2018/02/28 15:43:13 jorgerod Exp $
33
Rem
44
Rem pm_cre.sql
55
Rem
6-
Rem Copyright (c) 2001, 2015, Oracle Corporation. All rights reserved.
6+
Rem Copyright (c) 2001, 2018, Oracle Corporation. All rights reserved.
77
Rem
88
Rem Permission is hereby granted, free of charge, to any person obtaining
99
Rem a copy of this software and associated documentation files (the
@@ -37,6 +37,8 @@ Rem simplify the setup of Replication demos and are not needed
3737
Rem in most unreplicated environments.
3838
Rem
3939
Rem MODIFIED (MM/DD/YY)
40+
Rem jorgerod 02/13/18 - Remove online_media table
41+
Rem Ordim desupported in 19c
4042
Rem ahunold 12/13/02 - removing LONG column PRESS_RELEASE
4143
Rem hyeh 08/29/02 - hyeh_mv_comschema_to_rdbms
4244
Rem ahunold 04/25/01 - OID
@@ -76,34 +78,6 @@ CREATE TYPE textdoc_tab
7678
OID '82A4AF6A4CD0656DE034080020E0EE3D'
7779
AS TABLE OF textdoc_typ;
7880
/
79-
REM ======================================================================
80-
REM Create table online_media to hold media for the online catalog
81-
REM or other marketing/training needs.
82-
REM pm.online_media has a foreign key on product_id that references the
83-
REM oe.product_information table. pm.online_media has a primary key on
84-
REM product_id.
85-
86-
CREATE TABLE online_media
87-
( product_id NUMBER(6)
88-
, product_photo ORDSYS.ORDImage
89-
, product_photo_signature ORDSYS.ORDImageSignature
90-
, product_thumbnail ORDSYS.ORDImage
91-
, product_video ORDSYS.ORDVideo
92-
, product_audio ORDSYS.ORDAudio
93-
, product_text CLOB
94-
, product_testimonials ORDSYS.ORDDoc
95-
) ;
96-
97-
CREATE UNIQUE INDEX onlinemedia_pk
98-
ON online_media (product_id);
99-
100-
ALTER TABLE online_media
101-
ADD ( CONSTRAINT onlinemedia__pk
102-
PRIMARY KEY (product_id)
103-
, CONSTRAINT loc_c_id_fk
104-
FOREIGN KEY (product_id)
105-
REFERENCES oe.product_information(product_id)
106-
) ;
10781

10882
REM ========================================================================
10983
REM Create table print_media to hold print advertising information.

product_media/pm_drop.sql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Rem
2-
Rem $Header: pm_drop.sql 29-aug-2002.11:48:14 hyeh Exp $
2+
Rem $Header: pm_drop.sql 2018/02/28 15:43:13 jorgerod Exp $
33
Rem
44
Rem sh_drop.sql
55
Rem
6-
Rem Copyright (c) 2001, 2015, Oracle Corporation. All rights reserved.
6+
Rem Copyright (c) 2001, 2018, Oracle Corporation. All rights reserved.
77
Rem
88
Rem Permission is hereby granted, free of charge, to any person obtaining
99
Rem a copy of this software and associated documentation files (the
@@ -35,6 +35,8 @@ Rem NOTES
3535
Rem
3636
Rem
3737
Rem MODIFIED (MM/DD/YY)
38+
Rem jorgerod 02/13/18 - remove drop for online_media
39+
Rem Ordim desupported in 19c
3840
Rem hyeh 08/29/02 - hyeh_mv_comschema_to_rdbms
3941
Rem ahunold 05/29/02 - directory objects owned by sys
4042
Rem ahunold 04/09/02 - drop directory
@@ -44,7 +46,6 @@ Rem
4446

4547
REM drop all tables of schema
4648

47-
DROP TABLE online_media CASCADE CONSTRAINTS;
4849
DROP TABLE print_media CASCADE CONSTRAINTS;
4950

5051
DROP TYPE textdoc_tab;

product_media/pm_main.sql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Rem
2-
Rem $Header: rdbms/demo/schema/product_media/pm_main.sql /main/5 2015/03/19 10:23:26 smtaylor Exp $
2+
Rem $Header: rdbms/demo/schema/product_media/pm_main.sql 2018/03/05 16:28:42 jorgerod Exp $
33
Rem
44
Rem pm_main.sql
55
Rem
6-
Rem Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
6+
Rem Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
77
Rem
88
Rem Permission is hereby granted, free of charge, to any person obtaining
99
Rem a copy of this software and associated documentation files (the
@@ -42,6 +42,8 @@ Rem will have to edit this data file.
4242
Rem 3) Run this as SYS or SYSTEM
4343
Rem
4444
Rem MODIFIED (MM/DD/YY)
45+
Rem jorgerod 03/02/18 - Remove call to pm_p_ord.sql
46+
Rem Ordim Desupport in 19c. pm_p_ord.sql removed
4547
Rem smtaylor 03/19/15 - added parameter 9, connect_string
4648
Rem smtaylor 03/19/15 - added @&connect_string to CONNECT
4749
Rem smtaylor 03/19/15 - added pararmeter &connect_string to script calls
@@ -148,7 +150,6 @@ ALTER SESSION SET NLS_LANGUAGE=American;
148150
ALTER SESSION SET NLS_TERRITORY=America;
149151

150152
@__SUB__CWD__/product_media/pm_cre.sql -- create objects
151-
@__SUB__CWD__/product_media/pm_p_ord.sql -- load ORDSYS types
152153

153154
REM =======================================================
154155
REM use sqlldr to populate PRINT_MEDIA and its nested table

product_media/pm_p_ord.sql

Lines changed: 0 additions & 168 deletions
This file was deleted.

product_media/printer.jpg

-20.9 KB
Binary file not shown.

product_media/printer.rm

-586 KB
Binary file not shown.

0 commit comments

Comments
 (0)