Viewing 15 posts - 16 through 30 (of 98 total)
ScottPletcher (8/19/2014)
August 19, 2014 at 2:53 pm
Thanks everyone , changed and working without error.
July 3, 2014 at 12:23 pm
ChrisM@Work (3/13/2014)
SELECTEnqueueDate = CAST(m.EnqueueDate AS DATE),
m.Siteid,
s.[SiteID name],
Total = COUNT(*)
FROM MessageQueue m
INNER JOIN SiteID s
ON s.SiteID = m.SiteID
GROUP BY
CAST(m.EnqueueDate AS DATE),
m.Siteid,
s.[SiteID name]
ORDER BY m.EnqueueDate...
March 13, 2014 at 7:48 am
ChrisM@Work (3/13/2014)
You're welcome, good luck.
Chris
One last thing I hope you can help with.
My current query is :
SELECT EnqueueDate = CAST(EnqueueDate AS DATE), Siteid, COUNT(*) as Total
FROM MessageQueue
GROUP BY CAST(EnqueueDate AS...
March 13, 2014 at 6:46 am
ChrisM@Work (3/13/2014)
Sure, try this:
SELECT processingday = CAST(processingday AS DATE), ID, COUNT(*)
FROM mytable
GROUP BY CAST(processingday AS DATE), ID
Chris
Perfect , thanks very much.
Will work out now what is going on.
Appreciate the assitance
March 13, 2014 at 6:00 am
ChrisM@Work (3/13/2014)
MickyD (3/13/2014)
Can someone offers some advice on how to achieve this.
I need to count the number of records that exist for a distinct value in a table.
I.e....
March 13, 2014 at 5:34 am
Keith Tate (2/4/2014)
February 4, 2014 at 8:36 am
Keith Tate (2/4/2014)
February 4, 2014 at 7:56 am
thanks for updates.
All make sense.
February 4, 2014 at 7:51 am
Another thought....
I run my DBCC checks weekly , on Sunday evenings.
I run backups daily , and they are retained for 2 days on box then moved to tape.
So I can...
February 4, 2014 at 6:33 am
Thanks everyone.
Yes we do have backups, I will get one of them lined up.
thanks for advice.
February 4, 2014 at 6:05 am
I get this message when I try to create a new subscription before the wizard starts.
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Synonym 'dbo.MSreplication_subscriptions' refers to an...
January 7, 2014 at 3:51 am
Thanks all will check and update when I have tested.
January 7, 2014 at 3:45 am
Robert klimes (10/3/2013)
October 3, 2013 at 1:47 pm
Wow , thanks very much for quick response. Looks like just what I am after.
September 19, 2013 at 3:23 pm
Viewing 15 posts - 16 through 30 (of 98 total)