Skip to content

Instantly share code, notes, and snippets.

@radityopw
Created March 1, 2016 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radityopw/5cbf978acff144f8cdd8 to your computer and use it in GitHub Desktop.
Save radityopw/5cbf978acff144f8cdd8 to your computer and use it in GitHub Desktop.
use AdventureWorks2012
go
declare @total int
declare @iterator int
set @iterator = 0
set @total = 10
while(@iterator < @total)
begin
print 'ini proses ke ' + cast(@iterator as varchar) + '/' + cast(@total as varchar)
set @iterator = @iterator + 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment