MySQL Forums
Forum List  »  Newbie

WHERE with CONCAT
Posted by: Mauro Boscarol
Date: August 29, 2004 07:27AM

Hi all.

I have a table A with a (varchar 20) A.field and a table B with two (varchar 10) fields: B.field1 and B.field2.

How can I make a SELECT with a WHERE of this type:

WHERE A.field = CONCAT (B.field1 , B.field2)

I get an error in CONCAT. How is the string concatenation in mySQL?

Thank you

Mauro Boscarol

Options: ReplyQuote


Subject
Written By
Posted
WHERE with CONCAT
August 29, 2004 07:27AM
August 30, 2004 03:42AM
August 30, 2004 05:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.