🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Combining varchars to return one varchar

#11074
From: DP
Date: Fri, 20 Dec 2002 15:35
17 lines
1224 bytes
Hello

Rather than doing :

  Select title, fname, lname
    from contacts

what's the correct syntax for doing something like this:

    select (title+' '+fname+' '+lname) as fullname
     from contacts

I'm assuming the above is not correct.

TIA

David
Technical Details
Message-ID: <3e0338c4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,96ab11eb7f71fbb3,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-20 07:39:29 PST
From: "DP" <daveperkins@_woo-hoo"-'#-bigfoot.com>
Newsgroups: borland.public.interbase.sql
Subject: Combining varchars to return one varchar
Date: Fri, 20 Dec 2002 15:35:59 -0000
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 217.155.64.69
Message-ID: <3e0338c4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1040398532 217.155.64.69 (20 Dec 2002 07:35:32 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail