Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    12

    Unanswered: String adding ..

    Hi all

    I'm trying to get something like this working:

    SELECT 'aa' + value + 'aa' as blah from lib;

    which i want to return:
    aa1aa
    aa2aa
    aa3aa

    but it returns:
    1
    2
    3



    value is an INT field.
    does anybody have a solution to my problem?

    thnx

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Look up the concat function in your MySQL documentation.

    -PatP

  3. #3
    Join Date
    Jan 2004
    Posts
    12
    thnx alot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •