Concat presentation

315 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
315
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Concat presentation

  1. 1. MySQL concat() functionReference :-http://www.w3resource.com/mysql/string-functions/mysql-concat-function.phphttp://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat
  2. 2. MySQL concat() functionDescription MySQL CONCAT() function is used to add two or more strings. It will return non-binary strings when all the strings are non-binary and return binary string when any of the specified string is binary. A numeric argument is also converted in its equivalent binary string form. It can be avoided by using an explicit type CASTSyntax CONCAT (string1, string2,…)
  3. 3. MySQL concat() functionExample of MySQL concat() function Code:-SELECT CONCAT(Use, MySQL);
  4. 4. MySQL concat() functionExample of MySQL concat() function on columnsCode:-SELECT CONCAT(pub_city,--> ,country)FROM publisher;

×