• Query syntax (2K SR1)

    • This topic has 1 reply, 2 voices, and was last updated 22 years ago.
    Author
    Topic
    #386134

    I have a table that contains (among other things) two fields, FirstName and LastName. I want to query the table and return a single column that contains a string consisting of FirstName + ” ” + Lastname. Can someone tell me the SQL syntax to do this in Access 2000?

    Viewing 0 reply threads
    Author
    Replies
    • #668751

      Try this!
      Wish you well!

      SELECT Trim([firstname] & ” ” & [lastname]) AS Name
      FROM Student_Data;

      Bill

    Viewing 0 reply threads
    Reply To: Query syntax (2K SR1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: