Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CONCAT giving wacky results

Status
Not open for further replies.

jsimes

Programmer
Jan 18, 2001
8
0
0
US
I have a query like this:

SELECT
P.PageID,P.PageSUB,
CONCAT("L1=" , P.PageID, "&sub=", P.PageSUB) AS thePath
FROM Pages P

What I want thePath to look like is:

L1=12&sub=res

what I get is:

[B@7857a5

It looks like it is Concatenating the field reference or something wacky.

Does anyone have any idea what is happening.

Thanks a bunch,

Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top