Re: combining fields in select

2003-09-18 Thread Harald Tijink
;[EMAIL PROTECTED]> Sent: Thursday, September 18, 2003 11:55 AM Subject: combining fields in select > I am trying to select the firstname and surname fields from a table. > > select firstname + surname fullname from people; > > This does work in other databases but does not seem to

Re: combining fields in select

2003-09-18 Thread Terry Riley
Michael --Original Message- > I am trying to select the firstname and surname fields from a table. > > select firstname + surname fullname from people; > > This does work in other databases but does not seem to work here. > > Am I doing something wrong or is there a diff

RE: combining fields in select

2003-09-18 Thread Mark Hewitt
On 18 September, 2003 11:56, Michael Piko [SMTP:[EMAIL PROTECTED] wrote: > I am trying to select the firstname and surname fields from a table. > > select firstname + surname fullname from people; > try: select concat(firstname,surname) as fullname from people; HTH, Mark -

Re: combining fields in select

2003-09-18 Thread Michael Piko
I am trying to select the firstname and surname fields from a table. select firstname + surname fullname from people; This does work in other databases but does not seem to work here. Am I doing something wrong or is there a different way to achieve this with mysql? Michael -- MySQL Gen

combining fields in select

2003-09-18 Thread Michael Piko
I am trying to select the firstname and surname fields from a table. select firstname + surname fullname from people; This does work in other databases but does not seem to work here. Am I doing something wrong or is there a different way to achieve this with mysql? Michael