999: Not implemented yet.
Posted in 2013
Topics: General Discussion
Hi All,
I am having a strange problem while executing the following query.
Please note that i have two instances on the same machine and i am trying to
execute this query from 1st instance and i accesses the database of the 2nd
instance.
Can someone help me by telling that if it is a limitation in informix and
where this limitation is stated in documentations:
When I execute the below query, it gives me the error:
"999: Not implemented yet."
select * from (
select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
union
select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
);
Please note that i am executing the above query by sitting in different
instance (remote query).
The same query works fine if i exclude the outer select, (like this):
select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
union
select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
I will be waiting for the quick support/help.
Thanks.
Regards,
Khan
UNIONS in subqueries are not supported in distributed queries.
However, I don't understand the need to make the UNION a derived table
query, just issue the inner query directly. The results are the same and
you save the overhead of creating, loading, and reading back the local temp
table that would have to be created to support the derived table.
Art
Art S. Kagel, Principal Consultant
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
On Wed, Nov 20, 2013 at 11:22 AM, O KHAN <theultimateboy@hotmail.com> wrote:
> Hi All,
>
> I am having a strange problem while executing the following query.
>
> Please note that i have two instances on the same machine and i am trying
> to
> execute this query from 1st instance and i accesses the database of the 2nd
> instance.
>
> Can someone help me by telling that if it is a limitation in informix and
> where this limitation is stated in documentations:
>
> When I execute the below query, it gives me the error:
> "999: Not implemented yet."
>
> select * from (
> select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
> union
> select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
> );>
> Please note that i am executing the above query by sitting in different
> instance (remote query).
>
> The same query works fine if i exclude the outer select, (like this):
>
> select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1
> union
> select tabid from dbname@rss_tcp:"informix".systables WHERE tabid = 1>
> I will be waiting for the quick support/help.
>
> Thanks.
>
> Regards,
> Khan
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--001a11c3c704d6a19704eb9e917a