American adfult dating
Here is what I have so far, the computed CREATE TABLE [web].[User Notifications]( [Notification Id] [int] IDENTITY(1,1) NOT NULL, [Ad Domain] [varchar](15) NULL, [Ad Account] [varchar](30) NULL, [Ad Full] AS (([Ad Domain] '\') [Ad Account]), [Ad Last Login] [date] NULL, [SHR_Last Login] [date] NULL, [Manager Notified On] [date] NULL, [Notify Manager] [bit] NOT NULL, [Last Login Count] AS (datediff(day,[SHR_Last Login],getdate())), CONSTRAINT [PK_User Notifications] PRIMARY KEY CLUSTERED ( [Notification Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] You won't be able to perform an aggregate in the computed column, but you can possibly set it up using a somewhat ugly case statement ( as my first thought, there may be a more clever approach ).
See this SQL Fiddle for an example; it pretty much boils down to the following in the number of days since a login; the code above has been edited to swap the Less Than operater to a Greater Than, but the SQL Fiddle will continue to show the former.
Best of all, we added all the extra goodies you could ever want: a ultra-low dropout 3.3V regulator so you can power it with 3.3-5VDC in, 5V level safe inputs, ENABLE pin so you can turn off the module using any microcontroller pin or switch, a footprint for optional CR1220 coin cell to keep the RTC running and allow warm starts and a tiny bright red LED.
The New Version 3 comes with the latest module which has external antenna support and Pulse-Per-Second output.