CONCAT ( string_value1, string_value2 [, string_valueN ] )
Code:
SELECT CONCAT('Ray',' ','of',' ','Light') AS TITLE;
Output:
TITLE|
------------+
Ray of Light|
Code:
SELECT
CONCAT('Ray',' ','of',' ','Light') AS TITLE;
Output:
TITLE|
------------+
Ray of Light|
Code:
CREATE OR REPLACE FUNCTION concatenate_strs(strings array)
RETURNS string
LANGUAGE JAVASCRIPT
AS
$$
var result = ""
STRINGS.forEach(element => result = result.concat(element));
return result;
$$;
SELECT concatenate_strs(array_construct('Ray',' ','of',' ','Light')) TITLE;
Output:
TITLE|
------------+
Ray of Light|
No issues were found.
No related EWIs.