Sign in
Esoteric
The inside scoop on SQL / debugging you won't find anywhere else!
Blog - News
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
AlwaysOn
Analysis Services
Aviation BI
Education
Excel
MSPFE
PowerShell
Production debugging
Reporting Services
ReportViewer
ScriptDOM
SQL
SQL Architecture
SQL General
SQL High Availability
SQL Performance
SQL Replication
SQLDOM
SSRS
T-SQL Anti-patterns
Upgrade
Upgrade Advisor
VS.NET
WinDbg
Who's viewing?
Visitor Log
Blog - Link List
Useful SQL Blogs
SQL CAT Blog
SQL Server Storage Engine team blog
Sunil Agarwal and others from the SE team
Slava Oaks's weblog
A must-read blog if you are interesting in SQLOS internals
QP team blog
Query Processor team's blog
CSS SQL Team
Bob Dorr, Bob Ward and the entire CSS SQL Escalation team. Highly recommended!
Craig Freedman
Nitty-gritty details of the optimizer, plans, parallelism etc. Probably the most detailed explanations on those topics anywhere on the Internet.
SQL Release Services
Keep an eye on this to be alerted of new CUs, SPs etc.
SQL Programmability
CSS SQL Replication Team
Paul Randal
SQL PFE Blog
Robert Bruckner (SSRS)
David Lean (SQL Spatial)
SQL Server CSS Team India
Nacho's SQL Blog
SQL PFE Israel
Check out their Service Pack / CU list!
SQL Tools
RML Utilities (x86)
RML Utilities (x64)
SQL Nexus
PAL
SQL Server 2005 Performance Dashboard Reports
SQLRAP Scoping Tool v1.2
SQL Perf Stats Script
SQL Best Practices Toolbox (DMV Scripts)
Team web pages
Premier Field Engineering (India)
Microsoft CSS Jobs
Microsoft Premier Support
Microsoft SQL Server Risk Assessment Program
Data sheet for SQLRAP
Microsoft Premier Support Offerings
Debugging Links
Reiley Yang's blog
DumpAnalysis.org
CTS Platforms EE blog
OSR Online (home of the NT Insider)
Ken 'Skywing' Johnson
Home of the Advanced Windows Debugging book
Mark Russinovich's blog
Alex Ionescu
VC++ team blog
MSDN Channel 9 'Going Deep' shows
BI (SSAS, MDX, SSRS, SSIS)
Karan Gulati's blog
Chris Webb
Jeffrey Wang's blog
Stacia Misner
Valentino Vranken
Archive
Archives
May 2013
(2)
April 2013
(5)
March 2013
(4)
February 2013
(2)
January 2013
(1)
December 2012
(2)
November 2012
(2)
October 2012
(6)
September 2012
(10)
July 2012
(1)
May 2012
(3)
March 2012
(3)
November 2011
(2)
April 2011
(2)
February 2011
(3)
December 2010
(1)
September 2010
(2)
August 2010
(1)
June 2010
(3)
May 2010
(5)
February 2010
(1)
January 2010
(1)
December 2009
(3)
October 2009
(1)
August 2009
(1)
July 2009
(2)
June 2009
(1)
May 2009
(1)
April 2009
(1)
January 2009
(2)
December 2008
(7)
November 2008
(2)
August 2008
(3)
April 2008
(1)
December 2007
(1)
June 2007
(3)
August 2006
(1)
June 2006
(5)
MSDN Blogs
>
Esoteric
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Esoteric
PowerShell script to extract T-SQL task code from SSIS packages
Posted
9 days ago
by
Arvind Shyamsundar
0
Comments
Requirement Some time back I presented a PowerShell script which extracts T-SQL code from RDL files. Remember that I created this script to assist me in doing code reviews of ad-hoc SQL snippets which were embedded in the report definition files. Another...
Esoteric
Effective technical presentations: a mind-map
Posted
21 days ago
by
Arvind Shyamsundar
0
Comments
Over the last year I’ve been fortunate enough to be trained by some top-notch professionals from the world of media and big-stage events on how to deliver world-class sessions – whether it be a multi-day training, a short TechEd session, an online meeting...
Esoteric
PowerShell script to extract T-SQL code from RDL files
Posted
22 days ago
by
Arvind Shyamsundar
0
Comments
One of the things I do in my day job at Microsoft Services is to review database design and T-SQL code. Now, when it comes to code, there is a challenge just to find ALL the possible code which hits our database engine. This is because a non-trivial amount...
Esoteric
SQL Server and Storage / SAN replication (mirroring) tips
Posted
28 days ago
by
Arvind Shyamsundar
0
Comments
Some customers have adopted block level replication of the storage disks (LUNs) as their DR solution for SQL Server databases. Remote mirroring of storage disks sounds great – transparent to the application, replicates every block as-is; so very little...
Esoteric
‘Cannot resolve the collation conflict’ error message with temp tables
Posted
29 days ago
by
Arvind Shyamsundar
0
Comments
Scenario Today my customer told me that he is facing an error message ‘Cannot resolve the collation conflict’ when executing an JOIN between two tables: a base table and a temporary table. They had recently created the database afresh from scripts and...
Esoteric
Using the TransactSql.ScriptDOM parser to get statement counts
Posted
1 month ago
by
Arvind Shyamsundar
0
Comments
Today there was a question on the #sqlhelp Twitter hashtag: “Is it possible to get UPDATE/SELECT/INSERT/DELETE statement counts from SQL Server?” Implementation This is a perfect use case for the SQLDOM parser a.k.a. Microsoft.SqlServer.TransactSql.ScriptDom...
Esoteric
TechEd India 2013 - ‘T-SQL Horrors’ slides
Posted
1 month ago
by
Arvind Shyamsundar
0
Comments
TechEd 2013 was a grand success! Thank you – those of you who stayed till 6:15PM at the Pune session – and even more to those who engaged me in Q&A till 7PM that evening I was very impressed and happy to see people interested in my talk, even though...
Esoteric
Considerations when using the TransactSql.ScriptDOM parsers
Posted
1 month ago
by
Arvind Shyamsundar
0
Comments
Some of you might be aware of the above namespace , which holds an implementation of a first-class T-SQL parser. In this post I would like to explain some of the complexity you will face when dealing with the ScriptDOM yourselves, typically using Visitor...
Esoteric
Education Resources: Mathematics and Chemistry add-ins
Posted
1 month ago
by
Arvind Shyamsundar
0
Comments
Kids in school today are more comfortable working with computers than with pen-and-paper. And for kids with special needs it may actually be the only way for them to express themselves. So I always wondered what we can do to make the learning experience...
Esoteric
Getting worker thread IDs using DMVs
Posted
2 months ago
by
Arvind Shyamsundar
0
Comments
In SQL 2000, the kpid column in sysprocesses was a convenient way to find out the actual worker thread ID (OS level thread identifier) for a given task. How does one do this using the DMVs? Here is a quick way: select R.Session_Id, Th.os_thread_id from...
Esoteric
TechEd India 2013 – Bengaluru
Posted
2 months ago
by
Arvind Shyamsundar
4
Comments
I just delivered a session on ‘T-SQL Horrors: how NOT to code’ at TechEd India. The response has been great, and those of you who see this after attending my session, thank you very much for your interest and participation! What I appreciate the most...
Esoteric
T-SQL formatter: a PowerShell script
Posted
2 months ago
by
Arvind Shyamsundar
0
Comments
This is a ‘quick-and-not-so-dirty’ version of a T-SQL formatter / ‘pretty printer’ in PowerShell. To use this, please install the SQL 2012 SP1 version of the SQLDOM from the Feature Pack page . (If you already have SQL 2012 client tools on your machine...
Esoteric
Named constraints: two sides to the story!
Posted
2 months ago
by
Arvind Shyamsundar
3
Comments
Background Constraints in SQL Server are of the following types: CHECK constraints DEFAULT constraints Foreign key constraints NULLable constraint UNIQUE constraint PRIMARY KEY constraint BTW, if you are wondering what a NULLable constraint is, it is...
Esoteric
The Top 10 Issues uncovered by the SQL Server Risk Assessment Program (SQLRAP)
Posted
4 months ago
by
Arvind Shyamsundar
0
Comments
Firstly - Happy New Year, everyone! In my job as a Principal Premier Field Engineer at Microsoft Services, I am a regional lead for a proactive risk identification program called the SQLRAP. For over 7 years now we have evolved this from a manually conducted...
Esoteric
“The operation has timed out” while using Power View in Excel 2013
Posted
4 months ago
by
Arvind Shyamsundar
0
Comments
This one is a quick tip. I recently upgraded to Office 2013 RTM and wanted to use the excellent Power View feature which is now an integral part of Excel! However, after I setup my tables (actually I used the Power Pivot data model) I was consistently...
Esoteric
Microsoft Report Viewer 2012 update: a ‘gotcha’ to be aware of
Posted
5 months ago
by
Arvind Shyamsundar
3
Comments
Something which I have been waiting for a long time has finally been released! The ReportViewer 2012 redistributable RTM package is available for download now! Deployment notes FYI, ReportViewer is used by Management Studio (SSMS), other utilities and...
Esoteric
Extra T-SQL checks to complement SQL Upgrade Advisor
Posted
5 months ago
by
Arvind Shyamsundar
0
Comments
Background More and more customers are looking to upgrade to SQL Server 2012, which offers some exciting features like AlwaysOn Availability Groups, ColumnStore Indexes and much more. As part of my job in the Microsoft Premier Field Engineering team,...
Esoteric
Getting TaskUnzip to work with SQL Server Integration Services (SSIS) 2012
Posted
6 months ago
by
Arvind Shyamsundar
3
Comments
Background It is a very common requirement in SSIS packages to extract contents of a compressed ZIP file, and then process that file in a data flow. From what I can see, it appears that TaskUnzip is quite a popular way to achieve this. So as part of the...
Esoteric
Aviation BI Project - Part 1: Requirements
Posted
6 months ago
by
Arvind Shyamsundar
0
Comments
Background One of my hobbies is following the commercial aviation scene. My job requires me to fly around a lot, and that only sparks my curiosity further around how the commercial aviation business works. What better then, that to use this hobby as...
Esoteric
Where can I download SQL 2012 Upgrade Advisor?
Posted
7 months ago
by
Arvind Shyamsundar
1
Comments
This post is a really quick one… Let’s say you are planning to check your SQL Server and T-SQL code for any potential breaking changes in SQL 2012. So you use Upgrade Advisor. Let’s say you want to download it, rather than get it from the installation...
Esoteric
Virtual PC / Virtual Server 2005 to Hyper-V: VM Additions issues
Posted
7 months ago
by
Arvind Shyamsundar
0
Comments
Background I have some old VPCs which I used to run on Virtual PC 2007 SP1. In Virtual PC, we used ‘VM Additions’ which would install some drivers to make the VPC run smoothly in the virtualized environment. For example these additions...
Esoteric
A curious case: CLR/COM Interop leak
Posted
7 months ago
by
Arvind Shyamsundar
4
Comments
Background A customer asked me a question last week: in CLR-COM interop case, who is responsible to free up a string returned from COM? My understanding was that the interop layer setup by .NET will automatically take care of this. However, I thought...
Esoteric
Shared Source CLI 2.0 book
Posted
7 months ago
by
Arvind Shyamsundar
0
Comments
Yesterday I accidentally stumbled upon a goldmine : the Shared Source CLI 2.0 Internals book! This book covers the Shared Source CLI (if you don’t know what that is, check out the references at the end of this post) from an internals perspective. I find...
Esoteric
Free training video series: .NET Debugging for production environments
Posted
7 months ago
by
Arvind Shyamsundar
0
Comments
This is a quick one: my PFE colleagues Brad Linscott and Mario Hewardt have contributed an excellent video series on Channel 9. Check it out NOW at .NET Debugging for the Production Environment ! Awesome stuff!
Esoteric
Debugging managed code using VS.NET remote debugger
Posted
7 months ago
by
Arvind Shyamsundar
0
Comments
Visual Studio can be used to debug processes remotely, using the MSVSMON agent. This can be used for both native code and managed code. However, for successfully debugging managed code applications, symbol files have to be correctly loaded – and...
Page 1 of 4 (97 items)
1
2
3
4