This script was made by Steven Checo
- You need to run the following code once, before create the stored procedure
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
This script was made by Steven Checo
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
| const loop = (() => { | |
| const recur = (callback, count, i=0) => { | |
| if (i == count-1) return callback(i); | |
| callback(i); | |
| return recur(callback, count, i+1); | |
| }; | |
| return (callback, count) => { | |
| if (count > 0) return recur(callback, count); | |
| }; | |
| })(); |