🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #739

Re: Variable Table Name

#739
From: Brian Ellul
Date: Tue, 07 Aug 2007 13:00
9 lines
1290 bytes
>
>> if it is not possible how can i select just last 25 records in a table ?
>
> Use an order desc clause and keep a counter.  Suspend only when the 
> counter
> is <= 25
>

Or use the 'Rows' Clause... not sure if it was availabile in your version! 
Technical Details
Message-ID: <46b86bf9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46b81945$1@newsgroups.borland.com> <46b82d7e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,a41d18d74b656c02
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Brian Ellul" <brianellul@ecenglish.nospan.com>
Newsgroups: borland.public.interbase.sql
References: <46b81945$1@newsgroups.borland.com> <46b82d7e@newsgroups.borland.com>
Subject: Re: Variable Table Name
Date: Tue, 7 Aug 2007 15:00:34 +0200
Lines: 11
Organization: European |Centre
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: 213.165.165.162
Message-ID: <46b86bf9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1186491385 213.165.165.162 (7 Aug 2007 05:56:25 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail