I need to count the number of times a directory was accessed during a arbitrary time period.
Select count(directory) from tablename where Time between _____ AND ______
This forum may not be the best place to ask about TSQL but I would suggest you post it to http://social.msdn.microsoft.com/Forums/en-US/transactsql/threads with your column names and their data-types.
Paras Doshi (Blog: ParasDoshi.com | Twitter: @Paras_Doshi )
Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur Technet Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die Technet Website verlassen.
Möchten Sie teilnehmen?