Re:

From: ries van Twisk <pg(at)rvt(dot)dds(dot)nl>
To: Hemant Patel <hemant(dot)patel(at)impetus(dot)co(dot)in>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re:
Date: 2008-11-05 14:50:56
Message-ID: 9DF6FA8B-B706-41E8-B6A2-0F71C8EEA6DD@rvt.dds.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Nov 5, 2008, at 8:42 AM, Hemant Patel wrote:

> Hello Everyone,
>
> I have a array of ids from my search result and now
> I want to fetch the details from the database.
> Now IN query is ruined my sort order.So should I go for Union All?

IN doesn't ruin your sort order really.... You need to think in sets...

> Is there any other method to fetch the data..?

Can't you not directly join against you other table to fetch the
result directly??

Show us the SQL you are working with + tables would help aswell.

>
> Please help me in this….
> Thanks in advance…
>
> With Regards,
> Hemant Patel
>

In response to

  • at 2008-11-05 13:42:31 from Hemant Patel

Responses

  • Re: at 2008-11-05 16:21:21 from Hemant Patel

Browse pgsql-sql by date

  From Date Subject
Next Message Hemant Patel 2008-11-05 16:21:21 Re:
Previous Message Hemant Patel 2008-11-05 13:42:31