Thank You!
First of all thank you to everyone who attended my T-SQL presentation on 5/10/2016. We had over 1400 people registered for the training and 871 people joined and listened in, that’s a lot of people! I also received a lot of good and encouraging feedback so thank you for that as well.
Resources
The number one question I received is will the T-SQL scripts be available for download. Of course they will. If you want to download the T-SQL scripts that I used for my presentation you can find those here:
Free Recording:
The full one hour webinar that I did for Pragmatic Works on 5/11/2016 can be found here:
Questions and Answers:
I just received the list of questions from the webinar so I will get this section updated in the next couple days. I wanted to go ahead and post this blog so you could have access to the SQL Scripts.
Question:
Les Said: BTW, best presentation EVER!!!! Very clear and straight to the point in each case. Congrats!!!
Answer:
Thank you!, Best question ever!
Question:Recursive CTEs in SQL
Ken Asked: Should anchor be unique? What happens if there are two rows returned in the Anchor member?
Answer:
Hey Ken, the anchor member does not need to be unique here. In our example we were specifying that the CEO is at the first level or Level 0. If there are multiple members in the Anchor then multiple members would show up at Level 0.
Question: Pivot in SQL
Travis asked: Can you do multiple columns, such as minutes and cost?
Answer:
Travis I believe you are asking about the pivot example that I showed in my webinar. The answer is yes, you can definitely do a double pivot or pivot on multiple columns. I will write a blog on how to do this in the next week, so please check back!
Question: Merge in SQL vs. SSIS Update
Vineet asked: How does the merge statement compare to updates done in SSIS.
Answer:
The only native built in update capability that we have in SSIS is the OLE DB Command so I assume that this question is in regards to comparing the merge with the OLE DB Command. The merge pattern will perform light years better than doing updates in SSIS using the OLE DB Command. The merge pattern I showed in the webinar is a very popular design pattern used for loading data warehouses.
Question: SubTotals with CTEs in SQL Server
Vineet asked: Can you share CTE Examples on your blog.
Answer:
Hi again, you were not the only one to ask this question as I have also received a few emails requesting this example. I will write a blog post with an example on this in the next week, so please check back!
Question: What SQL Books would you recommend?
Answer:
There are a lot of great SQL Books out there. I will stick with one author here. I have three books by Itzik Ben-Gan.
- T-SQL Fundamentals
- T-SQL Querying
- T-SQL Programming