Thanks for using Compiler Explorer
SQL
ByePy
sql source #1
Output
Compile to binary
Execute the code
Intel asm syntax
Demangle identifiers
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Compiler
/usr/local/bin/Apfel-exe
Options
Source code
-- Type your code here, or load an example. CREATE OR REPLACE FUNCTION compTest04(x INT) RETURNS INT AS $$ DECLARE y INT := 0; BEGIN FOR i IN 1..x LOOP y = y + 1; EXIT WHEN y > 5; END LOOP; RETURN y; END; $$ LANGUAGE plpgsql; -- Q: SELECT compTest04(42);
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
About the author
Changelog
Version tree