SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 general question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

joe8079
Posting Yak Master

USA
113 Posts

Posted - 07/06/2012 :  19:51:28  Show Profile  Reply with Quote
If you have access to reporting services to create a matrix, do you really need to use a dynamic pivot table? I'm just wondering because I use a matrix in a lot of my reports and have never used a dynamic pivot table but I see a lot of people using them. Is there something that a dynamic pivot can do that an SSRS Matrix cannot?

visakh16
Very Important crosS Applying yaK Herder

India
47087 Posts

Posted - 07/06/2012 :  23:11:43  Show Profile  Reply with Quote
you dont need to use pivot then. matrix does the dynamic pivot for you.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Transact Charlie
Flowing Fount of Yak Knowledge

United Kingdom
3434 Posts

Posted - 07/07/2012 :  04:03:30  Show Profile  Visit Transact Charlie's Homepage  Reply with Quote
its more general than that.

If you have an external application reading your results then there should be no need for a dynamic pivot - you should pivot in the application layer. You will need to parse the results anyway and pivoting is easy.

Dynamic pivots are a hack.

Transact Charlie

Msg 3903.. The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION.
Go to Top of Page

joe8079
Posting Yak Master

USA
113 Posts

Posted - 07/07/2012 :  10:58:17  Show Profile  Reply with Quote
just wanted to make sure I wasn't missing anything because I always use a matrix when I need to pivot something dynamically. I guess dynamic pivots are good if you don't have access to reporting services. Yes, dynamic pivots are very ugly looking.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47087 Posts

Posted - 07/07/2012 :  16:37:24  Show Profile  Reply with Quote
quote:
Originally posted by joe8079

just wanted to make sure I wasn't missing anything because I always use a matrix when I need to pivot something dynamically. I guess dynamic pivots are good if you don't have access to reporting services. Yes, dynamic pivots are very ugly looking.


yep...makes sense for most scenarios

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000