Denaes Posted March 10, 2004 Posted March 10, 2004 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. Quote
Administrators PlausiblyDamp Posted March 10, 2004 Administrators Posted March 10, 2004 SELECT LastName + ', ' + FirstName as FullName FROM Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Denaes Posted March 10, 2004 Author Posted March 10, 2004 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 :) Quote
techmanbd Posted March 11, 2004 Posted March 11, 2004 You can also do it theis way if my memory serves me SELECT firstname || ", " || lastname as fullname from TABLE Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.