Hello,
When creating a function as source code, using $$ instead of single quote
causes syntax error:
Error: Syntax error in SQL statement "CREATE ALIAS REVERSE AS [*]$$ String
reverse(String s) { return new StringBuilder(s).reverse().toString()"
[42000-172]
SQLState: 42000
ErrorCode: 42000
Error occured in:
CREATE ALIAS REVERSE AS $$ String reverse(String s) { return new
StringBuilder(s).reverse().toString()
How can I resolve the problem?
I run statements on H2 v1.3.172 through SQuirreL client v3.5.0
Thank you.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.