Hi,
I have been writing queries that contain a factored subquery, like:
WITH My_Table AS
(
SELECT *
FROM Table_Name
)
SELECT * FROM My_Table
This works when using SQL+, but not when using PL/SQL developer. Does anybody know if this is a limitation of the software, is it a setting within the software, or a setting somewhere else? It isn't that it doesn't work, the query runs, but no records are returned. When I look at the Explain Plan it looks the same in PL/SQL Developer as it does in SQL+, same Bytes, Cardinality etc etc.
I've also tried using such queries from VB, again returning empty recordsets (in fact, a recordset object does not become created).
Any thoughts on this I'd be most interested!
Cheers,
Sean.
I have been writing queries that contain a factored subquery, like:
WITH My_Table AS
(
SELECT *
FROM Table_Name
)
SELECT * FROM My_Table
This works when using SQL+, but not when using PL/SQL developer. Does anybody know if this is a limitation of the software, is it a setting within the software, or a setting somewhere else? It isn't that it doesn't work, the query runs, but no records are returned. When I look at the Explain Plan it looks the same in PL/SQL Developer as it does in SQL+, same Bytes, Cardinality etc etc.
I've also tried using such queries from VB, again returning empty recordsets (in fact, a recordset object does not become created).
Any thoughts on this I'd be most interested!
Cheers,
Sean.