WITH UR Clause is not working for subqueries in V9.5 but it's working in V9.7
do you have any documents which states the same or it's an issue in my environment .
db2 v9.5 fp9 :-
db2 v9.7 fp6 :-
do you have any documents which states the same or it's an issue in my environment .
db2 v9.5 fp9 :-
Code:
db2 "select count(*) from (select * from t1 with ur ) "
SQL0104N An unexpected token "WITH" was found following " ". Expected tokens
may include: " ". SQLSTATE=42601
Code:
db2 "select count(*) from (select * from t1 with ur ) "
1
-----------
7
1 record(s) selected.