Created
June 10, 2016 15:38
-
-
Save oliviermarin/2c2ce18dca223e713bd12798b72c1017 to your computer and use it in GitHub Desktop.
PLSQL | PostgreSQL | creation simple de script plsql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO $$ | |
DECLARE | |
counter integer := 0; | |
BEGIN | |
FOR i IN 1..10 | |
LOOP | |
counter := couter + i; | |
END LOOP; | |
END; | |
$$ LANGUAGE plpgsql; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment