We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dfbf42 commit 93ca430Copy full SHA for 93ca430
1 file changed
tests/sql_test_files/it_works_set_variable_to_other_variable.sql
@@ -0,0 +1,9 @@
1
+SET x = 42;
2
+SET y = $x;
3
+SET z = $y;
4
+select 'text' as component,
5
+ case $z
6
+ when '42' then 'It works !'
7
+ else 'It failed ! Expected 42 but got ' || COALESCE($z, 'NULL')
8
+ end
9
+AS contents;
0 commit comments