🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.opensource
Article #192

How to get a substring from a cast SELECT?

#192
From: Nando
Date: Tue, 15 Nov 2005 20:37
8 lines
1121 bytes
Hi,

I'm trying to get a substring from a date field using SELECT CAST(DateField 
AS CHAR(12)) but I can't find the way for doing so.

Any help will be appreciated,

Nando. 
Technical Details
Message-ID: <437a46cc$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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: 106772,4bbeb00d679b3321,start
X-Google-Attributes: gid106772,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Nando" <nando@nowhere.com>
From: "Nando" <nando@nowhere.com>
Newsgroups: borland.public.interbase.opensource
Subject: How to get a substring from a cast SELECT?
Date: Tue, 15 Nov 2005 15:37:13 -0500
Lines: 10
Organization: Sistema MED
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 201.245.108.85
Message-ID: <437a46cc$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1132086988 201.245.108.85 (15 Nov 2005 12:36:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.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