🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Combine data 2 records

#733
From: Bill Todd
Date: Mon, 06 Aug 2007 19:08
14 lines
1569 bytes
MrT wrote:

> I can't CAST(MAX(m."RENEW_DTE") AS VARCHAR(10)) says invalid.

Is M.RENEW_DTE a DATE or a TIMESTAMP field?

Is your database dialect 1 or 3?

I still do not understand what you are trying to do. The query in your
message does not use the MAX aggregate. I thought you were trying to
find the maximum date.

-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <46b771aa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46b641b6@newsgroups.borland.com> <46b644a4$1@newsgroups.borland.com> <46b655fa@newsgroups.borland.com> <46b662de$1@newsgroups.borland.com> <46b679a5@newsgroups.borland.com> <46b68537@newsgroups.borland.com> <46b6a9b3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,509bc3ea097a54b
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd" <no@no.com>
Subject: Re: Combine data 2 records
Newsgroups: borland.public.interbase.sql
References: <46b641b6@newsgroups.borland.com> <46b644a4$1@newsgroups.borland.com> <46b655fa@newsgroups.borland.com> <46b662de$1@newsgroups.borland.com> <46b679a5@newsgroups.borland.com> <46b68537@newsgroups.borland.com> <46b6a9b3@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
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 65.118.176.23
Message-ID: <46b771aa$1@newsgroups.borland.com>
Date: 6 Aug 2007 12:08:26 -0700
X-Trace: newsgroups.borland.com 1186427306 65.118.176.23 (6 Aug 2007 12:08:26 -0700)
Lines: 14
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail