db*****@yahoo.com wrote:
If we can get the LIST OF SQL Statements which will NOT WORK in DB2 V8
Z/OS, but will be working fine in DB2 8.2 LUW, that would be great.
Anything around OO:
CREATE TYPE AS
CREATE TABLE OF
CREATE VIEW OF
METHODs
BI specific stuff:
DB2 for zOS is in the beginning w.r.t. MQTs.
OLAP functions are not supported.
MERGE statement not supported
I'm not sure how far DB2 for zOS is with CUBE and ROLLUP
DB2 for zOS does support the WITH clause. I'm not sure about recursion.
SQL PL is a bit of a leap frog game..
Not sure about nested savepoints, nested compound statement, nested
exception handlers.
DB2 for zOS is ahead in passing tables to procs
(i.e. transition tables from triggers) and in general logic in triggers
is less restricted.
SQL Functions are on par with DB2 V7.1 for LUW (RETURN statement only)
if I'm not mistaken.
I'm not sure about DGTT. DB2 for zOS supports CREATEd GTT. (i.e. cataloged)
DB2 for zOS does SELECT FROM FINAL TABLE(INSERT...), but not NEW TABLE,
OLD TABLE with UPDATE and DELETE (introduced in V8.1.4 for LUW).
But DB2 for zOS does "table-bind-in" (aka array-insert) on INSERT
statements.
That's all I can come up with ad-hoc. DB2 V8 for zOS has caught up
significantly w.r.t. generic SQL such as scalar subqueries, nesting,
etc... I think most gaps are closed. Compared to V7 there are big gaps
w.r.t. orthogonality
Cheers
Serge
PS: Note to Mark A.: I have never come across a difference that was due
to DB2 V1 and earlier. DB2 for LUW was perry much born into SQL89/SQL92,
so there is the advantage of late birth.
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab