Reputation: 12373
Does Monetdb supports string function like concat_ws
in Postgresql (http://www.postgresql.org/docs/9.1/static/functions-string.html) ?
Edit: Monetdb reference
I look in the Monetdb reference about supported operations, but nothing was related to String functions.
Upvotes: 2
Views: 1081
Reputation: 2562
I went searching in the MonetDB functions
table. The following list shows the set of supported string functions, with aliases omitted and with maximum parameters.
SELECT ASCII('a');
→ 97
SELECT CODE(97);
→ a
SELECT CONCAT('foo', 'bar');
→ foobar
SELECT INSERT('foXXXar', 2, 3, 'ob');
→ foobar
SELECT LEFT('foobar', 3);
→ foo
SELECT LENGTH('foobar');
→ 6
SELECT LOCATE('bar', 'foobar', 0);
→ 4
SELECT LOWER('FOOBAR');
→ foobar
SELECT 'foobar' LIKE 'foo%';
→ TRUE
SELECT LPAD('foo', 6, '_');
→ ___foo
SELECT LTRIM('___foo','_');
→ foo
SELECT REPEAT('foo','3');
→ foofoofoo
SELECT RIGHT('foobar', 3);
→ bar
SELECT RPAD('foo', 6, '_');
→ foo___
SELECT RTRIM('foo___','_');
→ foo
SELECT SPACE(4);
→ (4 whitespace characters)SELECT SUBSTRING('foobar', 2, 4);
→ ooba
SELECT TRIM('___foo___','_');
→ foo
SELECT UPPER('foobar');
→ FOOBAR
Upvotes: 6