Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE @a int
SET @a = 0
WHILE @a < 100
BEGIN
--do other stuff here
SET @a = @a + 1
END
--this will loop 100 times.
DECLARE Markets_cursor CURSOR
FOR
SELECT * FROM tblMarkets
declare @Market as char(8)
OPEN tnames_cursor
FETCH NEXT FROM tnames_cursor INTO @tablename
WHILE (@@FETCH_STATUS <> -1)
BEGIN
IF (@@FETCH_STATUS <> -2)
BEGIN
set @Market = tblMarkets.Market
END
FETCH NEXT FROM tnames_cursor INTO @tablename
END
CLOSE Markets_cursor
DEALLOCATE Markets_cursor