Viewing 15 posts - 496 through 510 (of 1,245 total)
I've got my name down for the Saturday but it clashes with a family do so it's unlikely I'll make it. That said, the date for the family thing...
April 13, 2016 at 1:25 am
datsun (4/12/2016)
I have a strange issue on querying a table to return Max datetime with a group by clause.
I am getting all dates as max instead of the actual...
April 12, 2016 at 8:34 am
WITH dates AS
(
SELECT
*
,RowNo = ROW_NUMBER() OVER(PARTITION BY policyID ORDER BY startdate)
FROM ##myTable
)
SELECT
d1.PremiumID
,d1.PolicyID
,d1.StartDate
,EndDate = DATEADD(day,-1,d2.startdate)
FROM dates d1
LEFT JOIN dates d2 ON d2.PolicyID = d1.PolicyID
AND d2.RowNo = d1.RowNo +...
April 12, 2016 at 8:31 am
ThomasRushton (4/12/2016)
Revenant (4/12/2016)
ThomasRushton (4/12/2016)
Manic Star (4/12/2016)
whereisSQL? (4/12/2016)
djj (4/12/2016)
Grumpy DBA (4/12/2016)
Ed Wagner (4/12/2016)
San Francisco(left my) Heart
Soul
Train
Tracks
switch
blade
glory
Blaze
April 12, 2016 at 7:34 am
dbursey (4/8/2016)
April 8, 2016 at 7:49 am
ZZartin (4/5/2016)
Grumpy DBA (4/5/2016)
Ed Wagner (4/5/2016)
SunriseSunset
Pegasus
April 5, 2016 at 8:05 am
djj (3/31/2016)
BWFC (3/31/2016)
March 31, 2016 at 6:00 am
Ed Wagner (3/31/2016)
ThomasRushton (3/31/2016)
BWFC (3/31/2016)
Nice!!! Two of my favorite things...ribs and poker. Add some dark malt beverages you have described my personal nirvana. Smile Myself I found a crazy deal...
March 31, 2016 at 5:45 am
Nice!!! Two of my favorite things...ribs and poker. Add some dark malt beverages you have described my personal nirvana. Smile Myself I found a crazy deal on pork shoulders. Full...
March 31, 2016 at 1:14 am
Ken McKelvey (3/30/2016)
I suspect you are going to...
March 30, 2016 at 8:17 am
Jon-183221 (3/30/2016)
Ok, scrap my...
March 30, 2016 at 8:12 am
ChrisM@Work (3/30/2016)
Jon-183221 (3/30/2016)
March 30, 2016 at 7:44 am
Jon-183221 (3/30/2016)
March 30, 2016 at 6:49 am
I'll try to explain the best I can.
The basic set up is each postcode maps to part of a city or part of a county. Each city...
March 30, 2016 at 6:30 am
Sorry Chris but I'm really not following you. I'm still getting two rows for the EC1 area.
However, I've got something that is doing what I need now. It's...
March 30, 2016 at 5:16 am
Viewing 15 posts - 496 through 510 (of 1,245 total)