Views [dbo].[LSYTermServerClientsPSMonthView]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created11:10:06 AM Wednesday, March 07, 2007
Last Modified5:37:15 PM Monday, May 04, 2009
Columns
Name
server_addr
probe_addr
intervaldatetime
intervalduration
probeindex
addrtype
servicetype
servernetaddr
clientnetaddr
pktstoclient
bytestoclient
pktstoserver
bytestoserver
userrspcount
userrspsum
userrspcrossings
netrsptype
netrspcount
netrspsum
netrspcrossings
linkerrors
clientname
serverport
IntervalTime
Permissions
TypeActionOwning Principal
GrantSelectuniadmin
SQL Script
CREATE VIEW LSYTermServerClientsPSMonthView AS
SELECT LSYTermServerClients.*, IntervalTime=DATEADD(month, DATEDIFF(month,0,getdate()), 0) FROM LSYTermServerClients WHERE datepart(weekday, IntervalDateTime) BETWEEN 2 AND 6 AND datepart(hour, IntervalDateTime) BETWEEN 8 AND 18
GO
GRANT SELECT ON  [dbo].[LSYTermServerClientsPSMonthView] TO [uniadmin]
GO
Uses