HomeХобби и стильRelated VideosMore From: Database Star

Oracle CONCAT Function

0 ratings | 726 views
https://www.databasestar.com/oracle-concat/ The Oracle CONCAT function allows you to concatenate, or combine, string values together into a single string value. It’s a standard string manipulation technique in many languages, and SQL is no different. The syntax of this function is: CONCAT( string1, string2 ) The function returns both string values joined together, without a space or any other characters in between. The return value is the same as the first string parameter, which can be any of the string data types. One of the main drawbacks of this function is that it only allows for two strings to be combined, unlike other CONCAT functions in other languages. If you want to combine more than two strings together, you’ll need to have nested CONCAT functions, or use the double pipe character || which also concatenates strings. However, the advantage of CONCAT is that it allows for concatenation when using different character sets that don’t support the double pipe method. CONCAT and the double pipe method have similar performance, so that’s not an issue. For more information about the Oracle CONCAT function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-concat/
Html code for embedding videos on your blog
Text Comments (0)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.