Viewing 15 posts - 316 through 330 (of 371 total)
Sounds like you need to do it again. below is a link. What happened before you tried going into SSCM? This might help us to identify your issue.
January 29, 2013 at 12:45 pm
???
November 14, 2012 at 12:01 pm
That got it, I had to do some working around on it but I got what I was looking for. Thank you for putting me in the right direction. Next...
January 11, 2012 at 1:54 pm
This converted the date but now I need to count...
SELECT
CONVERT(VARCHAR(10), UTCOccurrenceDateTime, 111)
FROM Alerts
WHERE (Heading LIKE 'Disk %') AND...
January 11, 2012 at 11:24 am
I get an error on the CAST;
select ServerName, Heading, UTCOccurrenceDateTime
REPLACE(CAST(UTCOccurrenceDateTime as date),'-','/')
from dbo.Alerts where Heading like '%blocking%'
AND DATEADD(hh, -6, UTCOccurrenceDateTime) >= DATEADD(day, DATEDIFF(day, 0, GETUTCDATE()), 0)
order by UTCOccurrenceDateTime
January 11, 2012 at 10:57 am
SELECT COUNT(*) AS Total,
COUNT(DISTINCT datakey) AS Uniquedatakey,
COUNT(DISTINCT CASE WHEN landline<>'' THEN landline END) AS Uniquelandline, ...
January 11, 2012 at 10:53 am
Yes, I am trying to conver the UTC time to Central time and count servername and UTCOccurrances so I can take the query from 50000 rows to once sername per...
January 11, 2012 at 9:08 am
Try this to start, I found this on another web site. I googled count figures in sql table.
http://www.w3schools.com/sql/sql_func_round.asp
SELECT DataKey, ROUND(DataKey,0) as DataKey FROM Tablename
January 11, 2012 at 9:05 am
I know your not inserting columns, :), After you insert you data into the table you are wanting to count the datakey column, if so then your select stmt would...
January 11, 2012 at 8:49 am
I am a little confused, are you inserting records then wanting to do a count on the table on certain columns?
January 11, 2012 at 8:31 am
I can open the db, query, everything seems normal, just have never see this and wanted to put it out there in case it was serious. Thanks for looking at...
January 7, 2012 at 3:47 pm
try to attach, not sure how to get an attachment on here.
January 7, 2012 at 12:07 pm
Thanks guys I got all of figured out, now just putting it into SSRS, whuho!! 🙂
January 6, 2012 at 2:59 pm
Yeah that did it, now back to the other query and trying to get it to count by Occurance, ServerName.
Thanks so much!
lk
January 5, 2012 at 3:14 pm
Viewing 15 posts - 316 through 330 (of 371 total)