Article View: borland.public.interbase.sql
Article #11402Re: [FB]Stored proc creation
From: Bojidar Alexandrov
Date: Tue, 26 Nov 2002 14:05
Date: Tue, 26 Nov 2002 14:05
32 lines
1594 bytes
1594 bytes
The DeerBear wrote: > Hello, > > I have this problem: assume I have a table like this: > > 1) ID_Table > 2) Value > > Now, say I want to select the THIRD value( that is, neither the > first, nor the second, nor the > fourth ). > > I can't imagine a SQL query that does this, but I think a SP would do > the job. > > So, how can I create it? Do I need an UDF? > > How can I represent this situation in SQL? > > TIA for all the help you can give me > > Andrew There is something wrong with your design. Third by what order? Also whish interbase you use? -- Bojidar Alexanrov Kodar Ltd. http://www.Kodar.net
Technical Details
Message-ID:
<3de37f90@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3de35fcb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114a0e,be90a08ee7eee18b X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-26 06:06:05 PST From: "Bojidar Alexandrov" <bojo@kodar.net> Newsgroups: borland.public.interbase.sql References: <3de35fcb@newsgroups.borland.com> Subject: Re: [FB]Stored proc creation Date: Tue, 26 Nov 2002 16:05:00 +0200 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 NNTP-Posting-Host: 213.169.35.65 Message-ID: <3de37f90@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038319504 213.169.35.65 (26 Nov 2002 06:05:04 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail