Characters

SQL Server, T-SQL, Tools
No, I'm not talking about a Dickens novel. I'm talking about the number of characters in a string. I had a painful time recently because of the word "characters."  If you take a look at the dynamic management view sys.dm_exec_sql_text you can get the queries that have been run on your system that are still in the cache. It's a great utility. Better still, you can get specific statements from the code that are actively running through sys.dm_exec_requests or ones that have run through sys.dm_exec_query_stats. To do this is very simple. Each of these DMV's has a pair of columns, statement_start_offset and statement_end_offset. These columns, and I'm quoting directly from books online measure the "number of character" offset from the beginning of the SQL string and from the end of…
Read More

Free Training RIGHT NOW

SQL Server, T-SQL
Quest Connect 2009 is occurring even as I type this. Get on over there if you're interested in some free training. I recorded a session on understanding execution plans. But even better, there are live sessions with some great people. Stop reading this, click the link, get yourself some free training.
Read More

Birds Of a Feather Lunch

PASS
The PASS Summit agenda is shaping up and it's already looking to be much busier than last year. The latest is the Birds of a Feather lunch. It's lunch with an MVP. At least 50 different MVP's will be hosting a table each. At each table a topic of discussion will be hosted by the MVP present. It should be a lot fun. It'll be a great way to meet people and share war stories, tips, approaches, what ever. The list of topics and the MVP's leading are available here at Mike Walsh's blog. I'll be hosting a table on Team Development. I crack jokes about beating up developers, but really I see them as partners and teammates. We're all working towards a common goal, delivering the product, whatever it…
Read More