🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[FB]Stored proc creation

#11397
From: The DeerBear
Date: Tue, 26 Nov 2002 11:49
21 lines
1355 bytes
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
Technical Details
Message-ID: <3de35fcb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!uunet!dca.uu.net!ash.uu.net!sac.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,be90a08ee7eee18b,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-11-26 04:04:03 PST
From: "The DeerBear" <rainaple@tin.it>
Newsgroups: borland.public.interbase.sql
Subject: [FB]Stored proc creation
Date: Tue, 26 Nov 2002 12:49:30 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 217.57.210.22
Message-ID: <3de35fcb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038311371 217.57.210.22 (26 Nov 2002 03:49:31 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!uunet!dca.uu.net!ash.uu.net!sac.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail