krot

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

Mar 20th, 2018
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;
RAW Paste Data