3 changed files with 18 additions and 3 deletions
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
CREATE OR ALTER PROCEDURE [dbo].[OrganizationDomain_ReadIfExpired] |
||||
AS |
||||
BEGIN |
||||
SET NOCOUNT OFF |
||||
|
||||
SELECT |
||||
* |
||||
FROM |
||||
[dbo].[OrganizationDomain] |
||||
WHERE |
||||
DATEDIFF(DAY, [CreationDate], GETUTCDATE()) = 4 --Get domains that have not been verified after 3 days (72 hours) |
||||
AND |
||||
[VerifiedDate] IS NULL |
||||
END |
||||
Loading…
Reference in new issue