Viewing 15 posts - 30,811 through 30,825 (of 59,101 total)
ckelly 43038 (3/8/2012)
I need to create a report regarding the victims of crimes.
I've joined all the tables I need.
But, now I'm stumped and can't proceed.
This is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:26 pm
pietlinden (3/8/2012)
SELECT lw.SomeCode, lw.Seq, lw.LWType, lw.Age,lw.Race,lw.Sex,
SUBSTRING(','+lw.Crimes+',',N+1,CHARINDEX(',',','+lw.Crimes+',',N+1)-N-1) AS Value
FROM SCRIDB.dbo.Tally t
CROSS JOIN lwNames lw
WHERE N <...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:24 pm
MadTester (3/8/2012)
So my top tip is, look at procs first, rewrite if necessary, then look at indexing.
I absolutely agree. "Performance is in the code."
Very well done and thanks for...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:15 pm
BSavoie (3/8/2012)
I'm not sure why these sorts of files would have CR/LF's in the first place
Actually, it's a form of "grouping" that can help you ensure that you don't have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:04 pm
At the very least, you'd have to list all of the column names in the UNPIVOT.
I believe I know a way to do this fairly easily. If you'd post...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 7:52 pm
BSavoie (3/8/2012)
Performance is acceptable now.
So what is it? What kind of performance did you end up with?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 7:34 pm
sku370870 (3/2/2012)
I need to choose one, I have no reason to choose one over the other
I'll never understand such scenarios. Glad you're all set.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 7:19 pm
Any additional thoughts on this, Terry?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 7:09 pm
Eugene Elutin (3/1/2012)
dwain.c (3/1/2012)
You may try it yourself if...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 6:56 pm
Dave Mason (3/7/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 6:46 pm
jcb (3/6/2012)
Returning two homonimal columns in a query is a nuisance, I agree...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 6:25 pm
phung.quang (3/2/2012)
Hi, thank you for sharing
SPAM reported.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 6:03 pm
L' Eomot Inversé (3/8/2012)
Jeff Moden (3/7/2012)
Koen Verbeeck (3/7/2012)
[/url](if SOPA got through, this site could be taken down)
Not without due process of proper notification and the opportunity to comply. 😉
That's not...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 5:59 pm
Stefan Krzywicki (3/7/2012)
Jeff Moden (3/7/2012)
Koen Verbeeck (3/7/2012)
[/url](if SOPA got through, this site could be taken down)
Not without due process of proper notification and the opportunity to comply. 😉
Not necessarily. All...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 5:49 pm
So, did the SMALLDATETIME realization and the fact that the last 30 seconds of the day are rounded up to the next day shed any light on your partitioning problem...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:10 am
Viewing 15 posts - 30,811 through 30,825 (of 59,101 total)