Concatenation problem

  • Thread starter Thread starter Brad Allison
  • Start date Start date
B

Brad Allison

Okay, here is my SQL statement:

SELECT CLST + CLNO AS ClubID, CLNAME
FROM QS36F.CLUBLIST
ORDER BY CLST + CLNO

This is an ODBC dataadapter pulling info from a DB2 database (AS400). I get
the error of "SQL0402 -+ use is not valid."

How would I take the Columns CLST and CLNO, concatenate these to create one
field? What am I missing?

Thanks for the information.

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top