Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a standard customers table, with all the customers fixings and I want to tag on another field to my select statement.

 

It'll take Lastname and Firstname in this format: "Lastname, Firstname" and the name of the calculated field will be Fullname. This is merely a calculated field to help with databinding to a combobox and listbox.

 

I'd appreciate some help, but I'll keep working on it and post the answer if I do find it.

Posted

Damn that was fast. I only got a chance to try it once and I used the & sign as the concatinator and got an error.

 

Thanks for the help :)

Posted

You can also do it theis way if my memory serves me

 

SELECT firstname || ", " || lastname as fullname from TABLE

Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...