Re: [JDBC] [HACKERS] PostgreSQL JDBC and sub-select

From: snpe <snpe(at)snpe(dot)co(dot)yu>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] [HACKERS] PostgreSQL JDBC and sub-select
Date: 2002-11-14 13:31:11
Message-ID: 200211141331.11894.snpe@snpe.co.yu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

On Sunday 10 November 2002 08:51 am, Hannu Krosing wrote:
> snpe kirjutas L, 09.11.2002 kell 22:51:
> > Hello,
> > I work with JDeveloper and PostgreSQL JDBC and I have one problem.
> > I get error :
> > sub-SELECT in FORM must have an alias
> > I can't change SQL command, but it is internal JDeveloper command
>
> You could set up query logging in the backend and see what the offending
> query is. It may still be something you did (a missing or extra
> something somewhere).
>

query is like this :
select * from (select * from tab) where 1=2

This is work with Oracle,DB2,SQL Server
Postgresql request alias in sub-select in from clause

regards
Haris Peco

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2002-11-14 13:43:49 Re: 1600 Column limit..
Previous Message Richard Huxton 2002-11-14 11:37:53 Re: Can I install 2nd set of postgresql into the same server?

Browse pgsql-hackers by date

  From Date Subject
Next Message snpe 2002-11-14 13:41:18 create or replace view
Previous Message Magnus Naeslund(f) 2002-11-14 12:44:57 Re: RC1?

Browse pgsql-jdbc by date

  From Date Subject
Next Message snpe 2002-11-14 16:07:10 Re: streaming result sets: progress
Previous Message Scott Lamb 2002-11-14 12:41:24 Re: setUseServerPrepare & typecasts