Mysql concat_ws() function

MySQL CONCAT_WS() Function

Example

Add several expressions together, and add a "-" separator between them:
SELECT CONCAT_WS("-""SQL""Tutorial""is""fun!"AS ConcatenatedString;
Try it Yourself »

Definition and Usage

The CONCAT_WS() function adds two or more expressions together with a separator.
Note: Also look at the CONCAT() function.

Syntax

CONCAT_WS(separatorexpression1expression2expression3,...)

Comments

Popular posts from this blog

Lab Network 2024

Step to publish your static html web page to GitHub

Tutorial OOP(reversion java)