🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

calculated date

#832
From: Moore
Date: Wed, 16 May 2007 13:36
12 lines
1189 bytes
How to make an sql to retrieve data and add a calculated field for every 
day between two dates, the field date daos not exist in the table,

for example, if i give 01/01/2007 and 01/03/2007 as params, it should 
return the result set :

  01/01/2007, field2val, field3val
  01/02/2007, field2val, field3val
  01/03/2007, field2val, field3val

field2 and field3 exist in the table(s), but the date field does not, i 
hope i am clear..
Technical Details
Message-ID: <464b09cb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,f0e8d5197e52686,start
X-Google-Attributes: gid114a0e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 16 May 2007 15:36:05 +0200
From: Moore <delfino03@caramail.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.interbase.sql
Subject: calculated date
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.33.227.19
Message-ID: <464b09cb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1179322827 80.33.227.19 (16 May 2007 06:40:27 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail