Home > database >  How to write a custom function, realize the concat_ws () function is the same function?
How to write a custom function, realize the concat_ws () function is the same function?

Time:11-07

Functions are as follows:
The select CONCAT_WS (', ', 'a', 'b', 'c');
A, b, c

The select CONCAT_WS (', ', 'a', ', 'c');
A, and c

The select CONCAT_WS (', ', 'a', null, "c");
A, c
  • Related