Click here to monitor SSC

High Jinks, Hi Jacks, Exceptional DBA Awards and PASS

Published 7 October 2011 5:58 am

The countdown to PASS has counted down.  The day after tomorrow I will board a plane, like many others, on my way for the 4th year in a row to SQL PASS Summit.  The anticipation has been excruciating but luckily I have this little thing called a day job as a DBA that has kept me busy and not thinking too much about the event. Well that is not exactly true since my beautiful wife works for PASS so we get to talk about SQL from the time we wake up until late in the evening. I would not have it any other way and I feel very fortunate to be a part of this great event and to have been chosen as the Exceptional DBA Award judge also for the 4th year in a row.  This year, I will have been again tasked with presenting the award to the winner, Mr. Jeff Moden and it will be a true honor to meet him in person as I have read many of his articles on SSC and have attended his session at PASS previously.  The speech is all ready but one item remains, which will be a surprise to all who attend the party on Tuesday night in Seattle (see links below). 

Let’s face it, Exceptional DBAs everywhere work very hard protecting our data stores, tuning queries, mentoring, saving money, installing clusters, etc and once in a while there is time to be exceptionally non-professional and have a bit of fun.

Once incident that happened this year that falls under the High Jinks category was when my network admin asked if I could Telnet into a SQL instance and see if I could make the connection through the firewall that he had just configured. I was able to establish a connection on port 1433 and it occurred to me that it would be very interesting if I could actually run T-SQL queries via a Telnet session much like you might do with an SMTP server. With that thought, I proceeded to demonstrate this could be possible by convincing my senior DBA Shawn McGehee that I was able to do so. At first he did not believe me. It shook his world view.  It was inconceivable.  What I had done, behind the scenes, of course, was to copy and rename SQLCMD.exe to Telnet.exe and used it to connect and run a simple, “Select * from sys.databases” on the SQL instance. I think if it had been anyone other than Shawn I could have extended this ruse indefinitely but he caught on within 30 seconds. It was a fun thirty seconds though.

On the High Jacks side of the house, which is really merged to be SQL HACKS, I finally, after several years of struggling with how to connect to an untrusted domain like in a DMZ with a windows account in SSMS, I stumbled upon a solution that does away with the requirement to use SQL Authentication.  While “Runas” is a great command to use to run an application with a higher privileged account, I had not previously been able to figure out how to connect to the remote domain with SSMS and “Runsas”. It never connected and caused a login failure every time for the remote windows domain account. Then I ran across an option for “Runas”,   “/netonly”.  This option postpones the login until a connection is made and only then passes the remote login you supply when you first launch SSMS with the “Runas” command. So a typical shortcut would look like:

“C:WindowsSystem32runas.exe /netonly /user:remotedomain.comrodlandrum “C:Program FilesMicrosoft SQL Server100ToolsBinnVSShellCommon7IDESsms.exe”

You will want to make sure the passwords are synced between the two domains, your local domain and the remote domain, otherwise you may have account lockout issues, but I have found in weeks of testing this is a stable solution.

Now it is time to get ready to head for Seattle. Please, if you see me (@SQLBeat) or my wife (@Karlakay22) please run up and high five me (wait..High Jinks.High Jacks.High Fives.Need to change the title) or give me a big bear hug if you are strong enough to lift me off the ground. And if you do actually do that, I will think you are awesome and will not embarrass you by crying out for help or complaining of a broken back or sciatic nerve damage.

And now the links to others who have all of the details.

First, for the MVP Deep Dives 2, of which, like John, I was lucky enough to be able to participate in this year.

http://www.simple-talk.com/community/blogs/johnm/archive/2011/09/29/103577.aspx

And the details of the SSC party where the Exceptional DBA of 2011, Jeff Moden, will be awarded.

http://www.simple-talk.com/community/blogs/rebecca_amos/archive/2011/10/05/103661.aspx

 

Cheers!

Rodney

2 Responses to “High Jinks, Hi Jacks, Exceptional DBA Awards and PASS”

  1. the_SQL says:

    I have been fortunate enough to participate in MEAP (Manning Early Access Program), and your chapter is in the part of the book that I have access to. I must say that I was pleasantly surprised to see that you were chosen to contribute to this edition, as my experience has been that you are a wealth of knowledge, and an exemplary mentor. I found your chapter to be very enlightening, and a prime example of your literary skills when it comes to making learning SQL Server fun and interesting. The “That’s cool!” factor is prevalent in your section, and I, for one, appreciate the insight you bring to the book. I look forward to reading your works, regardless of form, and this one ranks right up there with the best. Great job Rodney! Thank you for the learning experience, and I eagerly anticipate your next contribution.

  2. tamusa says:

    Rodney…Totally unrelated…I saw this on Code Project and thought you might be interested (hint:tatoo).

    http://windowsteamblog.com/ie/b/ie/archive/2012/08/29/atari-online-ie-brings-classic-games-to-the-web-with-html5-and-multi-touch.aspx

Leave a Reply