🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Select First 2 Fields

#630
From: Bill Todd
Date: Thu, 06 Sep 2007 14:24
11 lines
1109 bytes
Serra wrote:

> Is it Possible to select just first 2 fields of a table ?

Not without knowing the field names. You can get the field names with:

SELECT RDB$FIELD_NAME FROM RDB$RELATION_FIELDS
WHERE RDB$RELATION_NAME = :THE_TABLE_NAME

-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <46e00da3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46dffaf3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,a3faacd9a13e8f53
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd" <no@no.com>
Subject: Re: Select First 2 Fields
Newsgroups: borland.public.interbase.sql
References:  <46dffaf3@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
NNTP-Posting-Host: 65.118.176.23
Message-ID: <46e00da3@newsgroups.borland.com>
Date: 6 Sep 2007 07:24:35 -0700
X-Trace: newsgroups.borland.com 1189088675 65.118.176.23 (6 Sep 2007 07:24:35 -0700)
Lines: 11
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail