🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

sql select

#902
From: Aaron Masser
Date: Fri, 13 Apr 2007 20:59
10 lines
1085 bytes
Is there a way to use a select value as a value of a parameter in the same 
query?  For instance,
select date, time, hours
from hours
where date = date

date being the hours from the select line.

Thanks
Aaron 
Technical Details
Message-ID: <461fef25$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,4019eac8a25fc334,start
X-Google-Attributes: gid114a0e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Aaron Masser" <amasser@bourasind.com>
Newsgroups: borland.public.interbase.sql
Subject: sql select
Date: Fri, 13 Apr 2007 16:59:28 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 216.169.187.141
Message-ID: <461fef25$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1176497957 216.169.187.141 (13 Apr 2007 13:59:17 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail