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
Merging two fields in a table in sqlserver2k
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
cechode10 pointsPosted Nov 21, 2005, 6:33 PM EST
how about something like
select (lastname + ', ' + firstname) AS fullName from MyTable