Instantly share code, notes, and snippets.

Embed
What would you like to do?
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