Re: sequence chages after firing update

From: "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com>
To: Subhashini Karthikeyan <subhaksekar(at)yahoo(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: sequence chages after firing update
Date: 2002-06-26 15:18:05
Message-ID: 200206262048.05168.mallah@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

dear subha,

Use explicit ORDER BY if u want to order the records
by some column.

otherwise the order of output from a select stmt is undefined.

bu generally it is found the the last updated record comes last.

On Wednesday 26 June 2002 17:17, Subhashini Karthikeyan wrote:
> hi all
>
>
> In postgresql 7.1.3
>
> i am updateing a row. it is a 4th record.
> after updation if i am firing a select query it is
> coming as a last record ..what shall i do to avoid
> that..
> any help appriciated
>
> thankz in advance
>
> regards
> subha
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alvar Freude 2002-06-26 15:34:47 Re: 2 Selects 1 is faster, why?
Previous Message Rajesh Kumar Mallah. 2002-06-26 15:00:23 Efficient Query For Mapping IP Addresses To Country Code.