Viewing 15 posts - 2,656 through 2,670 (of 6,486 total)
Jeff Moden (7/30/2008)
July 30, 2008 at 8:36 pm
You're trying to UNPIVOT or re-normalize your data. The 2005 method is the UNPIVOT; past versions would require a series of SELECT statements smushed together with UNION or UNION...
July 30, 2008 at 8:28 pm
Grant Fritchey (7/30/2008)
gcopeland (7/30/2008)
July 30, 2008 at 8:18 pm
Jack Corbett (7/30/2008)
July 30, 2008 at 8:05 pm
cs_troyk (7/28/2008)
Here's a link to a more detailed account of the problems one can run into with an EAV design: http://www.simple-talk.com/opinion/opinion-pieces/bad-carma/
In a nutshell, expect:
1) Difficult or impossible to declare...
July 28, 2008 at 8:29 pm
Alex Rosa (7/26/2008)
I'm a little bit late in this posting, but I'd like to share with you my similar case.
Some months ago I was fired, don't worry, I got...
July 26, 2008 at 8:17 pm
Jeff Moden (7/21/2008)
I'm walking into a new job similar to that on Monday...
I keep trying to look at the bright side. The ETL is process some 10,000 records through...
July 21, 2008 at 7:59 pm
hmm...must summon the Chi for some skills today.
Just walked into a new gig today, and let's just say the first procedure they wanted me to "look at" (not to tune...
July 21, 2008 at 6:09 pm
That's what I get for freehanding it....:D
Glad it helped, typo notwithstanding....
July 20, 2008 at 6:20 pm
It's kind of hard to tell on some of the things, but here would be a couple of them.
Sum(case when finish betweeen 1 and 9 then 1 else...
July 20, 2008 at 12:53 pm
Jeff Moden (7/18/2008)
Steve Jones - Editor (7/18/2008)
July 18, 2008 at 9:36 pm
Performance-wise, it sounds like you need to break that up in to much smaller chunks. You could use something like
declare @n int
declare @rn int
set @n=50000
set @rn=1
While @rn>0
BEGIN
DELETE top(@N)...
July 18, 2008 at 8:48 am
Instead of referencing the tables directly - perhaps set up a view to act as your data source in this case. This way you can build the new table...
July 16, 2008 at 8:31 am
On the analytical SQL side:
1. I am starting a new company and you have lined up most of your resources to do so, but am still deciding how to...
July 14, 2008 at 3:30 pm
If the names "look" different on different servers, then CustName cannot be your key, since it will not help you identify cust1 on server1 and cust1a on server2 as being...
July 14, 2008 at 9:35 am
Viewing 15 posts - 2,656 through 2,670 (of 6,486 total)