Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
475 B

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE sp_SolvedIssuesToday
AS
BEGIN
-- Display crash buckets solved today
SELECT BucketId AS Bucket,
SolveDate
FROM SolvedIssues
WHERE DATEPART(dd,SolveDate) = DATEPART(dd,GETDATE()) AND
DATEPART(mm,SolveDate) = DATEPART(mm,GETDATE()) AND
DATEPART(yy,SolveDate) = DATEPART(yy,GETDATE())
END
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO