SQL CODE BANK
Search
Friday, February 22, 2013
Query to Keep CPU Busy for 60 Seconds
DECLARE
@T
DATETIME
,
@F
BIGINT
;
SET
@T
=
GETDATE
();
WHILE
DATEADD
(
SECOND
,
60
,
@T
)>
GETDATE
()
SET
@F
=
POWER
(
2
,
30
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment