Viewing 15 posts - 796 through 810 (of 5,504 total)
Wouldn't the UNPIVOT approach be a little easier?
;
WITH cte AS
(
SELECT *
FROM
(SELECT *
FROM tblCompare) p
UNPIVOT
(Vals FOR col IN
(col1,col2,col3,col4)
)AS...
December 9, 2011 at 3:12 pm
The solution to your question usually is referred to as PIVOT or CrossTab query. A link to an related article referencing the latter can be found in my signature.
In general,...
December 9, 2011 at 10:13 am
ALZDBA (12/8/2011)
Here's another great resource by Brent Ozar that may get you on track tackling potential problems with san configurations for sqlserver
Yup, that's my first source. Now that Gail pointed...
December 8, 2011 at 1:42 pm
GilaMonster (12/8/2011)
December 8, 2011 at 1:06 pm
Hi Andrew,
I'm not sure if this would help you to get started:
Instead of trying to select one at a time, you could use Row_Number() to place the rquired rows in...
December 7, 2011 at 5:16 pm
gerardquinn43 (12/7/2011)
first class, thanks, really good stuff. Can't believe you gave me a few alternatives with precision coding also. Fantastic!!!Cheers,
Gerry.
Like I said before: if there are some ready...
December 7, 2011 at 4:56 pm
SQLRNNR (12/7/2011)
The spindles seems off.
The local drive is...
December 7, 2011 at 4:51 pm
Here are some code snippets based on some read to use sample data (do you recognize the data?)
-- sample data in a ready to use format:
DECLARE @tbl TABLE
(
fund_id INT,...
December 7, 2011 at 4:36 pm
gerardquinn43 (12/7/2011)
Thanks Lutz, reading your article now. very much appreciated.First time I used this site and very impressed.
Cheers,
Gerry.
Glad I could help and welcome aboard!
If you find the time, you...
December 7, 2011 at 4:19 pm
The SAN is provided by a 3rd party and a different group of our company is responsible for it.
But I'll try to raise the 64k formatting you mentioned. Let's see...
December 7, 2011 at 4:11 pm
duplicate post. no replies please.
Discussion already started here.
December 7, 2011 at 3:58 pm
Depending on the classification values being static or not, it's either a CrossTab or a DynamicCrossTab scenario. Both concepts are described in the related links in my signature.
As a side...
December 7, 2011 at 3:57 pm
Thank you for the prompt response, Elliot. Much appreciated.
I'm concerned, too. Especially, since all of our DBs now would have to share the same physical drives for logs and tempdb....
December 7, 2011 at 3:53 pm
GilaMonster (12/6/2011)
We're not singled out, we're just not included.
The only valid countries are USA (except a few states), Canada (except Quebec), UK (except North Ireland) and Australia. (maybe one or...
December 6, 2011 at 3:47 pm
I hope you're aware of the following limitation of using SQL Server in a virtualized environment:
"Virtualization Snapshots for Hyper-V or for any virtualization vendor are not supported to use with...
December 6, 2011 at 11:07 am
Viewing 15 posts - 796 through 810 (of 5,504 total)