Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: After updat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 12 Topic 3425 of 3631
Post > Topic >>

Re: After updating dataset the record goes to the end of thedataset

by nacef.l@[EMAIL PROTECTED] ("Nacef LABIDI") Apr 22, 2008 at 03:00 PM

------=_Part_3111_22105555.1208869221994
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thank you all for your useful comments.

I have tried to order my records as you said and got it work as I wanted.

Thank you again

On Tue, Apr 22, 2008 at 2:56 PM, Bart Degryse <Bart.Degryse@[EMAIL PROTECTED]
>
wrote:

>  Probably what you mean is that you want the order in which the records
> were
> originally inserted into the database. In that case add a serial to your
> table and
> fetch the records like
> SELECT * FROM tbl WHERE 1=1 ORDER BY [myserialfield]
> It's not foolproof but will in many cases come close to what you seem to
> be trying
> to achieve by not using 'order by'.
>
> Nacef LABIDI wrote:
> > Yes I don't issue any sort statement, and I indeed want the data to be
> show
> > as it is stored in the database.
>

------=_Part_3111_22105555.1208869221994
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thank you all for your useful comments.<br><br>I have tried to order my
records as you said and got it work as I wanted.<br><br>Thank you
again<br><br><div class="gmail_quote">On Tue, Apr 22, 2008 at 2:56 PM,
Bart Degryse &lt;<a
href="mailto:Bart.Degryse@[EMAIL PROTECTED]
">Bart.Degryse@[EMAIL PROTECTED]
>&gt;
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204,
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div style="margin: 4px 4px 1px; font-family: Tahoma; font-style: normal;
font-variant: normal; font-weight: normal; font-size: 10pt; line-height:
normal; font-size-adjust: none; font-stretch: normal;">
<div>Probably what you mean is that you want&nbsp;the order in which the
records were </div>
<div>originally inserted into the database. In that case add a serial to
your table and</div>
<div>fetch the records like</div>
<div>SELECT * FROM tbl WHERE 1=1 ORDER BY [myserialfield]</div>
<div>It&#39;s not foolproof but will in many cases&nbsp;come close
to&nbsp;what you seem to be trying </div>
<div>to achieve by not using &#39;order by&#39;.<div
class="Ih2E3d"><br><br>Nacef LABIDI wrote:<br>&gt; Yes I don&#39;t issue
any sort statement, and I indeed want the data to be show<br>&gt; as it is
stored in the database.<br>
</div></div></div>
</blockquote></div><br>

------=_Part_3111_22105555.1208869221994--
 




 12 Posts in Topic:
After updating dataset the record goes to the end of the dataset
nacef.l@[EMAIL PROTECTED]  2008-04-22 11:54:26 
Re: After updating dataset the record goes to the end of the dat
nacef.l@[EMAIL PROTECTED]  2008-04-22 12:10:41 
Re: After updating dataset the record goes to the end of the dat
depesz@[EMAIL PROTECTED]   2008-04-22 12:15:23 
Re: After updating dataset the record goes to the end of the
craig@[EMAIL PROTECTED]   2008-04-22 20:46:30 
Re: After updating dataset the record goes to the end of the dat
spam_eater@[EMAIL PROTECT  2008-04-22 12:11:42 
Re: After updating dataset the record goes to the end of the dat
singh.gurjeet@[EMAIL PROT  2008-04-22 15:42:37 
Re: After updating dataset the record goes to the end of the dat
nacef.l@[EMAIL PROTECTED]  2008-04-22 12:31:54 
Re: After updating dataset the record goes to the end of the dat
depesz@[EMAIL PROTECTED]   2008-04-22 13:02:14 
Re: After updating dataset the record goes to the end of the
padam.singh@[EMAIL PROTEC  2008-04-22 16:32:57 
Re: After updating dataset the record goes to the end of the dat
pavan.deolasee@[EMAIL PRO  2008-04-22 16:15:10 
Re: After updating dataset the record goes to the end of thedata
nacef.l@[EMAIL PROTECTED]  2008-04-22 15:00:21 
Re: After updating dataset the record goes to the end of thedata
scott.marlowe@[EMAIL PROT  2008-04-22 09:16:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 23:11:56 CDT 2008.