Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQL Server Rocks!

SQL Database Administrator/Developer. Background in developing OLTP/document based databases, SQLXML and performance tuning with an unhealthy fascination for the SQL query optimiser!

Archives: October 2011

Finding orphaned database users

Database users can become orphaned for a few reasons. For example, a database restore to another instance or deleting the corresponding SQL login would have the effect of leaving a database user orphaned. Development/testing SQL servers may also experience this due to the number of ad-hoc updates that may occur… Read more

0 comments, 613 reads

Posted in SQL Server Rocks! on 29 October 2011

Convert comma separated string to table and vice versa

I know that this subject has been blogged about numerous times but I thought I'd post an alternative way of shredding a comma separated string to a table that I come up with today, albeit with help from the very clever Itzik Ban-Gan cross join nested CTE that many of… Read more

1 comments, 2,725 reads

Posted in SQL Server Rocks! on 28 October 2011

Finding orphaned database users

Database users can become orphaned for a few reasons. For example, a database restore to another instance or deleting the corresponding SQL login would have the effect of leaving a database user orphaned. Development/testing SQL servers may also experience this due to the number of ad-hoc updates that may occur… Read more

9 comments, 3,823 reads

Posted in SQL Server Rocks! on 20 October 2011

Simple XML exist performance enhancement

I came across this really simple best practice from BOL for the xml method exist which when used will give you a much cleaner and faster query plan. If like me you commonly use the name of an element or attribute as part of an XQuery predicate, then you would… Read more

3 comments, 1,081 reads

Posted in SQL Server Rocks! on 17 October 2011

Denali

Is all set to be officially known as SQL 2012 and will be finally released in....... 2012!

Announced at the PASS Summit 2011, it is due to be released to manufactoring in the first half of next year.

The other major announcement from PASS was Microsoft actively supporting the Hadoop… Read more

0 comments, 339 reads

Posted in SQL Server Rocks! on 15 October 2011

SQLBits9

SQLBits9 – “Query across the Mersey” was held in the majestic Adelphi hotel. This was my first SQLBits experience and was fortunate enough to be able to attend all three days. I was not disappointed! Walking through the main door and up the stairs into the main conference hall, I… Read more

1 comments, 386 reads

Posted in SQL Server Rocks! on 10 October 2011