Skip to content

Merging two fields in a table in sqlserver2k

kameswara sarma doddavaram

Asked Nov 20, 2005, 7:10 PM EST1 answer
Share
LinkedInX
good morning everybody
i have 3 fields in empdetails table . fields are firstname , middlename, lastname.
now i want to retrive the firstname with lastname and place it into a dropdownlist in  C# page.
so how could i write the query in sqlserver2k
advance thanks
sarma

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0


    how about something like

    select (lastname + ', ' + firstname) AS fullName from MyTable

    0