Loops are pretty basic in TSQL:
while boolean_expression
statement
If your statement is more than 1 line, then you can enclose it in begin/end statements;
while aStatementIsTrue
begin
update myTable
set myCol = "whatever"
select someOtherThing
end
More details can be found in the Sybase T-SQL User's Guide.