Useful SQL Server scripts
This Blog is about MSSQL server 2000/2005 and 2008
Wednesday, March 24, 2010
A simple way to loop true the time counter
startme:
print convert(nvarchar(100),GETDATE(),109);
waitfor delay '00:00:01';
if(GETDATE() > '2010-03-24 15:18:00.713')
begin
goto endme;
end
else
begin
goto startme;
end
endme:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment