Dear All, Recently our organization had a DB2 version upgrade to v12.0, and while executing the DELETE query, we observe the below behavior.
Syntax 1: DELETE <<table name>.......
Syntax 2: DELETE FROM <<table name>.......
Both the above syntax are executing fine in the current DB2 12.0 environment. But, Syntax 1 was not executing in our earlier version (DB2 10.1 z9 server). We would like to understand if this behavior is really connected to the version upgrade. Or can there be any other reason? Kindly advise.
Version check - "DELETE FROM..." syntax
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Version check - "DELETE FROM..." syntax
why not look Yourself at the relevant manuals to find out ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Version check - "DELETE FROM..." syntax
Read the SQL Language Reference manual. At the beginning should be a chapter on changes between releases.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 1745
-
by Terry Heinze
View the latest post
Sat Oct 09, 2021 7:51 am
-
- 0
- 2237
-
by kaverimanoj
View the latest post
Wed May 26, 2021 4:37 pm
-
-
Find the version of a cobol program through its load module
by vinigim » Fri Oct 30, 2020 3:16 am » in IBM Cobol - 5
- 5138
-
by chaat
View the latest post
Sat Nov 07, 2020 8:40 am
-
-
- 0
- 3491
-
by zeller56
View the latest post
Sun Oct 01, 2023 1:50 am
-
- 1
- 2303
-
by Robert Sample
View the latest post
Fri Feb 25, 2022 7:42 pm