Easy SQL Question - Mailing list pgsql-novice

From Greg
Subject Easy SQL Question
Date
Msg-id 000d01c68dfe$5b782d50$126887f0$@co.za
Whole thread Raw
Responses Re: Easy SQL Question  ("Shoaib Mir" <shoaibmir@gmail.com>)
Re: Easy SQL Question  (Devrim GUNDUZ <devrim@commandprompt.com>)
List pgsql-novice
I Was looking at the PgSQL documentation last night but could not find how
to join two fields as one,

i.e

select (firstname + lastname) as fullname from users

I also tried (Cast(firstname as varchar) + Cast(lastname as varchar))

But that doesn't work..
How do I do this?

Thanks



pgsql-novice by date:

Previous
From: "Greg"
Date:
Subject: Question about stored procedures
Next
From: "Shoaib Mir"
Date:
Subject: Re: Easy SQL Question