Viewing 15 posts - 3,526 through 3,540 (of 10,144 total)
karthik babu (3/18/2014)
as early as possible.. since its EOD today we have 12+ hrs 🙂
How about pasting the assignment here so we don't have to guess what you're trying to...
March 18, 2014 at 8:06 am
The values of i (1, 2 and 3) have a value of j which is common to all of them (4). Another way to view this: a value of j...
March 18, 2014 at 8:05 am
karthik babu (3/18/2014)
March 18, 2014 at 7:49 am
HanShi (3/18/2014)
March 18, 2014 at 6:42 am
136romy (3/18/2014)
hi community here I have two queries that I want to sum my stock but I do not know how....
Use table aliases to eliminate unnecessary noise from your queries,...
March 18, 2014 at 5:36 am
ccmret (3/17/2014)
I want to select the empid listed more than once and then mark DOB as an ERROR if the dates are not equal.
So if you have an empid with...
March 18, 2014 at 3:13 am
david.dartnell (3/16/2014)
I would like to 'drop' some trailing zeros from a decimal value, e.g.: 50.000000, and I am wondering how to go about this?
The value is definitely of decimal...
March 17, 2014 at 5:39 am
Kurt W. Zimmerman (3/14/2014)
EricEyster (3/14/2014)
Ed Wagner (3/14/2014)
Stuart Davies (3/14/2014)
BWFC (3/14/2014)
Gaulbladder
Water
boat
yacht
rock
March 14, 2014 at 7:59 am
rhmohamed (3/14/2014)
Hi,That's totally correct.
was almost there by adding a distinct to my query and adding the PK.but seems not totaly correct.
Best regards
What makes 2 and 3 different from 1?
How...
March 14, 2014 at 7:31 am
Grant Fritchey (3/14/2014)
Ed Wagner (3/14/2014)
Grant Fritchey (3/14/2014)
GilaMonster (3/14/2014)
Anyone for a game of 'guess what index is on which table'?http://www.sqlservercentral.com/Forums/Topic1550657-391-1.aspx
Yeah, that one is killing me. Vague weirdness, badly edited execution plans...
March 14, 2014 at 5:55 am
Any time.
There are several ways to write this query, including joining the lookup to the original query as a derived table.
Thanks for the feedback.
March 13, 2014 at 7:52 am
SELECT
EnqueueDate = 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 DESC
March 13, 2014 at 6:51 am
Sure, try this:
SELECT processingday = CAST(processingday AS DATE), ID, COUNT(*)
FROM mytable
GROUP BY CAST(processingday AS DATE), ID
March 13, 2014 at 5:48 am
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. On...
March 13, 2014 at 5:17 am
Viewing 15 posts - 3,526 through 3,540 (of 10,144 total)