SELECT TOP 10 cs-uri-stem, sc-status, count(*) INTO filename_top10_500.csv FROM \ServerNamePathToWWWlogsw3svcSITEIDexYYMMDD.log where sc-status=500 group by cs-uri-stem,sc-status order by count(*) DESC"
SELECT TOP 10 cs-uri-stem, sc-status, count(*) INTO filename_top10_500.csv FROM \ServerNamePathToWWWlogsw3svcSITEIDexYYMMDD.log where sc-status=500 group by cs-uri-stem,sc-status order by count(*) DESC"