<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'SQL Server 2012' and 'Tips'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=SQL+Server+2012,Tips&amp;orTags=0</link><description>Search results matching tags 'SQL Server 2012' and 'Tips'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Squishy Limits in SQL Server Express Edition</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2013/03/28/squishy-limits-in-sql-server-express-edition.aspx</link><pubDate>Thu, 28 Mar 2013 12:19:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48447</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;It's an old story you've probably heard before. &amp;nbsp;Provide a free version of your software product with strict limitations on performance or other specific capabilities so that folks can give it a try without risk, while you minimize the chance of&amp;nbsp;cannibalizing&amp;nbsp;sales of your commercial products. &amp;nbsp;Microsoft has take this strategy with&amp;nbsp;&lt;a href="http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx"&gt;SQL Server Express Edition&lt;/a&gt;, not only to increase adoption in the student market but also to counter the threat of open-source (i.e. free) relational databases like MySQL for entry-level applications.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;One such limitation of SQL Server Express Edition is that it supports no more than 1GB of RAM for the instance. &amp;nbsp;Of course, you could have many Express Edition instances on a single Windows server, each with its own 1GB of RAM.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;But what does that metric of 1GB of RAM actually mean? &amp;nbsp;The key thing to remember is that the restriction is for&amp;nbsp;&lt;em&gt;&lt;strong&gt;buffer&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;cache.&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;Since SQL Server has many other caches, even when not counting the plan cache, there are plenty of other caches within SQL Server. &amp;nbsp;(Run a query against&amp;nbsp;&lt;em&gt;sys.dm_os_memory_clerks&lt;/em&gt;&amp;nbsp;if you'd like to see some of the others). &amp;nbsp;Because only the buffer cache has the strict 1GB limitation, you can actually watch SQL Server Express Edition's memory working set size grow to around 1.4-1.5GB due to the other memory caches at play.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;Pawel Potasinski, a SQL Server MVP from Poland (&lt;a href="http://twitter.com/pawelpotasinski"&gt;Twitter&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://sqlgeek.pl/"&gt;Blog&lt;/a&gt;), once&amp;nbsp;&lt;a href="http://sqlgeek.pl/2010/08/23/pl-sql-server-limity-w-sql-server-2008-r2-express-edition/"&gt;posted an interesting repro&lt;/a&gt;&amp;nbsp;for this behavior:&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;padding-left:30px;"&gt;&lt;span style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;"&gt;-- Assess amount of databases resident in buffer cache&lt;/span&gt;&lt;/p&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;SELECT
 CASE
 WHEN database_id = 32767 THEN 'mssqlsystemresource'
 ELSE DB_NAME(database_id)
 END AS [Database],
 CONVERT(numeric(38,2),(8.0 / 1024) * COUNT(*)) AS [MB in buffer cache] 
FROM sys.dm_os_buffer_descriptors 
GROUP BY database_id 
ORDER BY 2 DESC; 
GO&lt;/pre&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;-- Assess amount of tables resident in buffer cache
SELECT
 QUOTENAME(OBJECT_SCHEMA_NAME(p.object_id)) + '.' +
 QUOTENAME(OBJECT_NAME(p.object_id)) AS [Object],
 CONVERT(numeric(38,2),(8.0 / 1024) * COUNT(*)) AS [MB In buffer cache] 
FROM sys.dm_os_buffer_descriptors AS d 
 INNER JOIN sys.allocation_units AS u ON d.allocation_unit_id = u.allocation_unit_id 
 INNER JOIN sys.partitions AS p ON (u.type IN (1,3) AND u.container_id = p.hobt_id) OR (u.type = 2 AND u.container_id = p.partition_id) 
WHERE d.database_id = DB_ID() 
GROUP BY QUOTENAME(OBJECT_SCHEMA_NAME(p.object_id)) + '.' + QUOTENAME(OBJECT_NAME(p.object_id))
ORDER BY [Object] DESC;
GO&lt;/pre&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;-- Fill up Express Edition's buffer allocation
IF OBJECT_ID(N'dbo.test', N'U') IS NOT NULL
 DROP TABLE dbo.test;
GO&lt;/pre&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;CREATE TABLE dbo.test (col_a char(8000));
GO&lt;/pre&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;INSERT INTO dbo.test (col_a)
 SELECT REPLICATE('col_a', 8000)
 FROM sys.all_objects 
 WHERE is_ms_shipped = 1;&lt;/pre&gt;&lt;pre style="font-size:12px;line-height:18px;font-family:Consolas, Monaco, monospace;padding-left:30px;"&gt;CHECKPOINT; 
GO 100&lt;/pre&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;padding-left:30px;"&gt;&lt;em&gt;&amp;nbsp;The bottom line for the hard memory limit of SQL Server Express Edition is "Yes, it's limited. &amp;nbsp;But it's a squishy limit. Not a hard limit."&lt;/em&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;&lt;span style="line-height:19px;"&gt;Although your mileage may vary, I'd bet a dollar that you'll find more than 1GB in the active working set for your instance of SQL Server Express Edition. &amp;nbsp;I am curious, however, if you're seeing much variation between versions and even service packs of SQL Server? &amp;nbsp;Let me know if you try this out on more than one version and/or service pack level of SQL Server. &amp;nbsp;Did it change much between versions? &amp;nbsp;Let me know!&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;Enjoy,&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;-Kevin&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;&lt;a href="http://twitter.com/kekline"&gt;-Follow me on Twitter!&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;&lt;a href="http://twitter.com/kekline"&gt;&lt;/a&gt;&lt;br&gt;&lt;a href="https://plus.google.com/u/1/113032055249023350257?rel=author"&gt;Google Author&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13.333333969116211px;line-height:18.99305534362793px;"&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Learn More About SQL Server IO and Query Tuning in These Webcasts</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/12/14/learn-more-about-sql-server-io-and-query-tuning-in-these-webcasts.aspx</link><pubDate>Fri, 14 Dec 2012 18:50:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46662</guid><dc:creator>KKline</dc:creator><description>
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I'm doing two new webcasts next week on Wednesday, December 19th, one in the morning and the other after lunch.&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;SSDs are a Game Changer for SQL Server Storage&lt;/h2&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;No, session is not exclusively about SSDs. &amp;nbsp;But this is my first session on IO and storage tuning that emphasizes SSDs over hard disks. &amp;nbsp;As Bob Dylan said "Times, they are a'changin'". &amp;nbsp;This session on Wednesday, December 19th at 11:30 AM EST, sponsored by Astute Networks, takes you through all of the basics of storage and IO tuning, regardless of the underlying storage technology. &amp;nbsp;I'll show you how SQL Server handles storage structures, how to identify IO activity on Windows and SQL Server, and best practices for minimizing IO bottlenecks. &amp;nbsp;Register now for:&lt;a title="Kevin Kline's Storage IO Best Practices for SQL Server" href="http://bit.ly/UcXYI3"&gt;&amp;nbsp;Storage IO Best Practices for SQL Server and a New Approach to Solving Application Performance Issues&lt;/a&gt;.&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Write Better SQL Queries&lt;/h2&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;The next webcast on Wednesday, December 19th at 2 PM EST, is with me, Aaron Bertrand &amp;nbsp;(&lt;a href="https://twitter.com/#!/AaronBertrand"&gt;Twitter&amp;nbsp;&lt;/a&gt;|&amp;nbsp;&lt;a href="http://sqlblog.com/blogs/aaron_bertrand/rss.aspx"&gt;Blog&lt;/a&gt;)&amp;nbsp;and SQLCruise Impresario &amp;amp; Microsoft MVP Tim Ford &amp;nbsp;(&lt;a href="https://twitter.com/#!/sqlagentman"&gt;Twitter&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://www.ford-it.com/sqlagentman/"&gt;Blog&lt;/a&gt;)&amp;nbsp;as we take you through the query tuning process, discussing important DMVs to use during query tuning, as well as demonstrating several essential query tuning techniques that every SQL developer should know. &amp;nbsp;Not only are we presenting an hour of top quality technical content, we’ll also be giving away some cool prizes, including the grand prize of a paid registration for the upcoming&amp;nbsp;&lt;a target="_blank" href="http://elink.sqlsentry.net/c/1/?aId=67857085&amp;amp;requestId=b34612-273953cd-e600-4a18-979a-a9f2ded860bd&amp;amp;rId=lead-a407ed107f65de119513001e0b614992-c233a49718324979b0d8efc0614ff5d0&amp;amp;ea=aunefuonetre=pbz=vagrepreir&amp;amp;dUrl=http%3A%2F%2Fsqlcruise.com%2F2013-cruises%3F_cldee%3DbmhhcnNoYmFyZ2VyQGludGVyY2VydmUuY29t&amp;amp;uId=0"&gt;SQLCruise Miami&lt;/a&gt;, a $1,395 value! &amp;nbsp;Register now for:&amp;nbsp;&lt;a title="SQL Server Query Tuning Best Practices, Hosted by Kevin Kline, Aaron Bertrand, and Tim Ford" href="http://bit.ly/UskPPm"&gt;SQL Server Query Tuning Best Practices, Hosted by Kevin Kline and Aaron Bertrand with special guest Tim Ford&lt;/a&gt;&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I hope to see you at both of these sessions next week! &amp;nbsp;Best regards,&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/p&gt;
&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a title="Kevin E. Kline on Twitter" href="http://twitter.com/kekline"&gt;-Follow me on Twitter!&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Quick Tip - Speed a Slow Restore from the Transaction Log</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/11/14/quick-tip-speed-a-slow-restore-from-the-transaction-log.aspx</link><pubDate>Wed, 14 Nov 2012 15:59:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46209</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Here's a quick tip for you:&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;During some restore operations on Microsoft SQL Server, the transaction log redo step might be taking an unusually long time. &amp;nbsp;Depending somewhat on the version and edition of SQL Server you've installed, you may be able to increase performance by tinkering with the readahead performance for the redo operations. &amp;nbsp;To do this, you should use the MAXTRANSFERSIZE parameter of the RESTORE statement. &amp;nbsp;For example, if you set MAXTRANSFERSIZE=1048576, it'll use 1MB buffers.&lt;/p&gt;&lt;div style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;div align="left"&gt;If you change the MAXTRANSFERSIZE, keep an eye on the PerfMon objects for Buffer Manager and Readahead IO. &amp;nbsp;You may also wish to keep an eye on LOGBUFFER wait stats.&lt;/div&gt;&lt;div align="left"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left"&gt;I'd love to hear your feedback. &amp;nbsp;Have you tried this technique? &amp;nbsp;Did it work as advertised? &amp;nbsp;Did it require some changes to work on a specific version or edition?&lt;/div&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Many thanks,&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;br&gt;&lt;/div&gt;&lt;div align="left" style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-&lt;a title="Kevin E. Kline's Twitter Feed" href="http://twitter.com/kekline"&gt;Follow me on Twitter!&lt;/a&gt;&lt;/div&gt;</description></item><item><title>Two New Slide Decks. Plus, the Week in Colorado.</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/08/20/two-new-slide-decks-plus-the-week-in-colorado.aspx</link><pubDate>Mon, 20 Aug 2012 15:03:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44792</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a href="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2488.jpg"&gt;&lt;img class="alignright  wp-image-2027" title="Kevin and the SpringSQL Leadership" alt="" width="240" height="143" style="border:0px;cursor:default;float:right;" src="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2488-300x179.jpg"&gt;&lt;/a&gt;I had the honor of traveling the great state of Colorado last week, speaking at the PASS chapters in&amp;nbsp;&lt;a title="Boulder, CO SQL Server Users Group" href="https://groups.google.com/forum/?fromgroups#!forum/boulder-sql-server-users-group"&gt;Boulder&lt;/a&gt;,&amp;nbsp;&lt;a title="Colorado Springs, CO SQL Server Users Group" href="http://www.springssql.sqlpass.org/"&gt;Colorado Springs&lt;/a&gt;, and&amp;nbsp;&lt;a title="Denver, CO SQL Server Users Group" href="http://denver.sqlpass.org/"&gt;Denver&lt;/a&gt;. &amp;nbsp;At all three events, we had a stellar attendance and, at least&amp;nbsp;&lt;a title="A Huge Crowd for the Denver SQL Server User Group!" href="http://img.ly/m6ZG"&gt;in Denver, broke all the records&lt;/a&gt;&amp;nbsp;in recent memory both in terms of overall attendance and in first-timers. &amp;nbsp;Denver, in fact, was standing room only and had nearly 30 first time attendees. &amp;nbsp;Great news! &amp;nbsp;I also want to give a special shout-out of thanks and appreciation to&amp;nbsp;Chris Shaw (&lt;a href="https://twitter.com/#!/SQLShaw"&gt;Twitter&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://chrisshaw.wordpress.com/feed/"&gt;Blog&lt;/a&gt;) whose hard work and tenacity ensured that all of Colorado got to see me speak. From left to right, Gabriel Villa (&lt;a title="Gabriel Villa on Twitter" href="http://twitter.com/extofer"&gt;Twitter&lt;/a&gt;), me, Chris Shaw, and Rebecca Mitchell (&lt;a title="Rebecca Mitchell on Twitter" href="http://twitter.com/sqlprincess"&gt;Twitter&lt;/a&gt;). &amp;nbsp;If it weren't for Chris, I wouldn't have been there. &amp;nbsp;Thanks for putting in the time, amigo!&lt;/p&gt;&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;New Slide Decks!&lt;/h2&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;During the 3-day jaunt, I presented two of my more popular sessions. &amp;nbsp;These are updated slide decks, in case you want to download them here:&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a title="End-to-End Troubleshooting for Microsoft SQL Server" href="http://kevinekline.com/wp-content/uploads/2012/08/UG-End-to-End-Troubleshooting.zip"&gt;UG - End-to-End Troubleshooting&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;and&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a title="Top 10 DBA Blunders on Microsoft SQL Server" href="http://kevinekline.com/wp-content/uploads/2012/08/UG-Top-10-SQL-Server-Administration-Mistakes.zip"&gt;UG - Top 10 SQL Server Administration Mistakes&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a href="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2492.jpg"&gt;&lt;img class="alignright  wp-image-2033" title="Kevin &amp;amp; Steve Murchie" alt="" width="125" height="210" style="border:0px;cursor:default;float:right;" src="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2492-179x300.jpg"&gt;&lt;/a&gt;Be sure to check in the Slides area of the website, if you want to see the links for SpeakerRate, and in the case of several of my presentations, white papers, video recordings, etc. It's the People that Matter&lt;/p&gt;&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;A Blast from the SQLPASS Past!&lt;/h2&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I've always tried to maintain the relationships I built with the founding members of the&amp;nbsp;&lt;a title="The Professional Association for SQL Server" href="http://www.sqlpass.org/"&gt;PASS&lt;/a&gt;&amp;nbsp;board of directors. &amp;nbsp;After their time on the PASS board, almost all of them have moved on from SQL Server to other adventures. &amp;nbsp;Pam Smith, the first president of the organization, is now a professor. &amp;nbsp;Guy Brown, the second president, is now the director of IT at his same employer, rather than just SQL Server as when he was on the PASS board. &amp;nbsp;A few, such as Kurt Windisch, a former VP of PASS, and my good friend&amp;nbsp;Joe Webb (&lt;a href="https://twitter.com/#!/joewebb"&gt;Twitter&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a target="_blank" href="http://www.webbtechsolutions.com/blog"&gt;Blog&lt;/a&gt;), are still active in the SQL Server space. &amp;nbsp;One relationship that I've enjoyed over the years is with PASS' original Microsoft liaison and now a Denver-area software entrepreneur Steve Murchie (at right) running his own healthcare IT outfit. &amp;nbsp;Steve has been a source of inspiration to me and also of great advice for all things startup-related. &amp;nbsp;It was great to connect with Steve and catch up on his latest doings.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I also got to enjoy an evening out with the local attendees after the Denver user group meeting. &amp;nbsp;It was great to hang out with folks there. &amp;nbsp;I got to meet&amp;nbsp;&lt;a title="Kevin Cox on deck for 24HOP of SQLPASS.ORG" href="http://www.sqlpass.org/24hours/fall2012/SessionsbySchedule/SpeakerDetails.aspx?spid=480"&gt;Kevin Cox&lt;/a&gt;&amp;nbsp;(&lt;a title="Kevin Cox's Twitter Feed" href="http://twitter.com/KevinCoxSQL"&gt;twitter&lt;/a&gt;), a member of Microsoft's incredibly talented&amp;nbsp;&lt;a title="The Microsoft SQL Server Customer Advisory Team" href="http://www.sqlcat.com/"&gt;SQLCAT&lt;/a&gt;&amp;nbsp;group, and for whom I was a technical editor on a SQL Server v6.5 book back in the Neanderthal era. &amp;nbsp;That shows just how old both Kevin and I actually are. &amp;nbsp;Other cool folks that I got to meet included&amp;nbsp;&lt;a href="http://twitter.com/stevewake"&gt;Steve Wake&lt;/a&gt;,&amp;nbsp;&lt;a href="http://twitter.com/mike_fal"&gt;Mike Fal&lt;/a&gt;,&amp;nbsp;&lt;a href="http://twitter.com/marcbeacom"&gt;Marc Beacom&lt;/a&gt;,&amp;nbsp;&lt;a href="http://twitter.com/jasonkassay"&gt;Jason Kassay&lt;/a&gt;,&amp;nbsp;&lt;a href="http://twitter.com/jasonhorner"&gt;Jason Horner&lt;/a&gt;&amp;nbsp;and my ol' buddy,&amp;nbsp;&lt;a href="http://twitter.com/greeleygeek"&gt;Kelly the Greeley Geek&lt;/a&gt;.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;On top of that, long-time SQL Server MVP and all-around awesome guy&amp;nbsp;Steve Jones (&lt;a href="https://twitter.com/#!/way0utwest"&gt;Twitter&lt;/a&gt;&amp;nbsp;|&amp;nbsp;&lt;a href="http://feeds.feedburner.com/sqlmusings"&gt;Blog&lt;/a&gt;) visited. &amp;nbsp;I kept him out way too late that night which, to be honest, isn't usually my style. &amp;nbsp;But the good conversation propelled us on past midnight.&lt;/p&gt;&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;The Good Folks at SQL Server Professional and Windows IT Professional Magazines&lt;/h2&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&lt;a href="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2486.jpg"&gt;&lt;img class="alignright  wp-image-2036" title="Kevin and the Ladies of SQLMag" alt="" width="240" height="143" style="border:0px;cursor:default;float:right;" src="http://kevinekline.com/wp-content/uploads/2012/08/IMAG2486-300x179.jpg"&gt;&lt;/a&gt;I've written for SQL Server Professional (formerly the artist known as "SQLMag") in some form or another starting from my first cover article for them way back in the mid 1990's. &amp;nbsp;My&amp;nbsp;&lt;a title="Kevin Kline's Tool Time column at SQL Server Professional Magazine" href="http://www.sqlmag.com/blogcontent/seriespath/tool-time-blog-16"&gt;Tool Time column&lt;/a&gt;&amp;nbsp;has been going strong there since, oh, around 2006 iirc. &amp;nbsp;For most of the time I've known the folks at SQLMag, they were located in Loveland, CO but they were able to move to some incredibly nice digs just up the road in Fort Collins. &amp;nbsp;In all the many years, I've written for them, I'd never been to their offices - until now. &amp;nbsp;It was great to visit and break bread with Megan (to my right), Blair (across), and Jaylee (across and to my right)!&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I've always supported SQLMag and encourage you to subscribe. &amp;nbsp;On top of the goodness already in the digital magazine, there are some neat developments coming down the pipeline with SQLMag which I think we'll all enjoy. &amp;nbsp;Be sure to subscribe today! &amp;nbsp;(You can click the badge on the left or simply go to&amp;nbsp;&lt;a title="SQL Server Professional Magazine" href="http://www.sqlmag.com/"&gt;http://www.sqlmag.com&lt;/a&gt;).&lt;/p&gt;&lt;h2 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;What's Next?&lt;/h2&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;My current travel schedule is pinned up on&amp;nbsp;&lt;a title="Kevin Kline's appearance schedule" href="http://kevinekline.com/2012/07/31/come-see-me-ill-probably-be-just-down-the-street-soon/"&gt;this blog post HERE&lt;/a&gt;. &amp;nbsp;However, I also know of a couple on-line appearances and probably a trip between the long gap between now and my next in-person appearance at the&amp;nbsp;&lt;a title="Orlando SQL Saturday 151" href="http://www.sqlsaturday.com/151/eventhome.aspx"&gt;Orlando SQL Saturday&lt;/a&gt;&amp;nbsp;at the end of&amp;nbsp;September, where I'll also be teaching a pre-conference seminar (&lt;a title="SQL Server Configuration and Tuning Seminar" href="http://www.eventbrite.com/event/3895236758?ref=ebtn"&gt;register HERE for the seminar&lt;/a&gt;).&lt;/p&gt;&lt;h3 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;SSWUG&lt;/h3&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;The first on-line event to note is my a presentation by&amp;nbsp;&lt;a title="SQL Server Worldwide User Group" href="http://www.sswug.org/"&gt;SSWUG&lt;/a&gt;&amp;nbsp;of my&amp;nbsp;&lt;a title="Kevin Kline and SSWUG bring you &amp;quot;Leadership Skills for IT Professionals&amp;quot;" href="http://www.vconferenceonline.com/event/home.aspx?id=769"&gt;Leadership Skills for IT Professionals video series&lt;/a&gt;, starting on August 24th. &amp;nbsp;Sign up using the hyperlink (note that a video plays immediately upon loading the webpage, in case you want to be ready to pause or stop it). &amp;nbsp;You can also buy a DVD set of the 14 hours of leadership training content.&lt;/p&gt;&lt;h3 style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;24HOP - The 24 Hours of PASS Event&lt;/h3&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;I'll also be speaking on the topic of influence in the next&amp;nbsp;&lt;a title="The 2012 24 Hours of PASS session schedule" href="http://www.sqlpass.org/24hours/fall2012/SessionsbySchedule.aspx"&gt;24 Hours of PASS coming up on September 20th and 21st&lt;/a&gt;. &amp;nbsp;Registration for the twenty-four hours of around the clock presentations is completely free and well worth your time. &amp;nbsp;Check the schedule for the event and register! &amp;nbsp;Even if you can only watch one or two sessions (or even zero sessions), be sure to register so that you'll automatically be notified when the sessions become available as streaming media.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Enjoy!&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Follow me on&amp;nbsp;&lt;a title="Kevin Kline on Twitter" href="http://twitter.com/kekline"&gt;Twitter&lt;/a&gt;,&amp;nbsp;&lt;a title="Kevin Kline on LinkedIn" href="http://linkedin.com/kekline"&gt;LinkedIn&lt;/a&gt;, and&amp;nbsp;&lt;a title="Kevin Kline on Facebook" href="http://facebook.com/kekline"&gt;Facebook&lt;/a&gt;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Flexibility When Waiting on Locks</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2012/05/17/flexibility-when-waiting-on-locks.aspx</link><pubDate>Thu, 17 May 2012 13:29:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43427</guid><dc:creator>KKline</dc:creator><description>&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Speaking at a recent&amp;nbsp;&lt;a title="SQL Saturday Events around the world" href="http://www.sqlsaturday.com/"&gt;SQL Saturday&lt;/a&gt;, an attendee in one of my sessions wanted to know how they could more flexibly react to locks on their application than to wait for blocks to occur and then kill the SPID at the head of the blocking chain. &amp;nbsp;They were also interested in some alternatives to using the &amp;nbsp;SQL Server syntax like&lt;a title="Transact-SQL Syntax for the WITH (NOLOCK) table hint" href="http://msdn.microsoft.com/en-us/library/ms187373.aspx"&gt;&amp;nbsp;the WITH (NOLOCK) hint&lt;/a&gt;, since that might have unintended consequences due to allowing reads on uncommitted data.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;One alternative I suggested is the SET LOCK_TIMEOUT&amp;nbsp;&lt;em&gt;n&amp;nbsp;&lt;/em&gt;statement. &amp;nbsp;Since most of the attendees hadn't heard of this statement, I figured it'd make a good blog post. &amp;nbsp;&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;When using the statement, you can set this context for the connection, for a batch of code (such as a function or stored procedure), or for a single SQL statement (excluding a few DDL statements such as CREATE/ALTER DATABASE). &amp;nbsp;By passing a numeric value with the set statement, you specify the number of milliseconds that the statement will wait for a lock to be released before returning a locking error. &amp;nbsp;0 means don't wait at all and -1, the default, means wait forever. &amp;nbsp;Once changed,&amp;nbsp;the new setting stays in effect for the remainder of the connection. &amp;nbsp;So you might want to set it back to the default if you want it to apply to only one statement, say a SELECT, in a big batch of statements.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;You can also get the same behavior by using the&amp;nbsp;READPAST locking hint.&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;Hope this helps with those troublesome locking situations! &amp;nbsp;Enjoy,&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Kev&lt;/p&gt;&lt;p style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;"&gt;-Follow me on&amp;nbsp;&lt;a title="Kevin Kline's Twitter Feed" href="http://twitter.com/kekline"&gt;Twitter&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>