Advertisement
krot

временную процедуры

Mar 20th, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.14 KB | None | 0 0
  1. create proc #f
  2. @for INT
  3. AS
  4. BEGIN
  5.  
  6. DECLARE @cnt INT = 0;
  7.  
  8. WHILE @cnt < @for
  9. BEGIN
  10.    SELECT 1
  11.    SET @cnt = @cnt + 1;
  12. END;
  13.  
  14. END;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement