We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987a322 commit 651d96bCopy full SHA for 651d96b
tests/sql_test_files/it_works_postgres_cast_syntax.sql
@@ -1,7 +1,7 @@
1
-- the syntax $x::int is supported only in PostgreSQL
2
-- but for consistency with other databases, sqlpage supports this syntax everywher ()
3
SELECT 'text' as component,
4
- case $x::integer + 1
+ case $x::decimal + 1
5
when 2 then 'It works !'
6
else 'Error !'
7
end as contents;
0 commit comments