<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">John Paul Cook</title><subtitle type="html" /><id>http://sqlblog.com/blogs/john_paul_cook/atom.aspx</id><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/default.aspx" /><link rel="self" type="application/atom+xml" href="http://sqlblog.com/blogs/john_paul_cook/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61129.1">Community Server</generator><updated>2009-11-19T08:32:00Z</updated><entry><title>32-bit ODBC on Windows Server 2008 R2</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/16/32-bit-odbc-on-windows-server-2008-r2.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/16/32-bit-odbc-on-windows-server-2008-r2.aspx</id><published>2010-03-16T23:16:43Z</published><updated>2010-03-16T23:16:43Z</updated><content type="html">Heterogeneous data access requires having the right drivers. If you have to use 32-bit ODBC drivers, you won’t find then when you start the Microsoft ODBC Administrator because it is 64-bit. The 32-bit ODBC Administrator is found here: C:\Windows\SysWOW64\odbcad32.exe You might want to make a shortcut for it to make it easy to find. You’ll need to use it when make 32-bit ODBC data connections. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/16/32-bit-odbc-on-windows-server-2008-r2.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=23466" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Oracle Linked Servers on Windows Server 2008 R2</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/15/oracle-linked-servers-on-windows-server-2008-r2.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/15/oracle-linked-servers-on-windows-server-2008-r2.aspx</id><published>2010-03-15T17:05:19Z</published><updated>2010-03-15T17:05:19Z</updated><content type="html">Oracle hasn’t yet released versions of its client software for Windows Server 2008 R2. If you need to create an Oracle linked server, that’s a problem. You’ll see this installation block when attempting to install the Oracle client software for Windows Server 2008: It’s very simple to fix. Check the first checkbox to make the installer ignore the version check. Click Next and ignore the warning you’ll see. The installation should complete successfully. Windows does offer various strategies for mitigating...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/03/15/oracle-linked-servers-on-windows-server-2008-r2.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=23394" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Using Windows Authentication from a non-domain joined machine</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/26/using-windows-authentication-from-a-non-domain-joined-machine.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/26/using-windows-authentication-from-a-non-domain-joined-machine.aspx</id><published>2010-02-26T23:28:00Z</published><updated>2010-02-26T23:28:00Z</updated><content type="html">Sometimes it is necessary to use Windows domain credentials to authenticate with a SQL Server from a non-domain joined machine. Here’s a trick from my coworker Martin Kastenbaum to pass Windows domain credentials from a non-domain joined machine. You can pass your Windows credentials to SQL Server Management Studio by making a simple modification to the shortcut you use to launch it. It's probably a wise idea to make a copy of your SSMS shortcut and make all changes to the copy, not the original....(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/26/using-windows-authentication-from-a-non-domain-joined-machine.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=22642" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>ODBC Multiplatform Survey - Microsoft needs your input</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/23/odbc-multiplatform-survey-microsoft-needs-your-input.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/23/odbc-multiplatform-survey-microsoft-needs-your-input.aspx</id><published>2010-02-24T01:21:00Z</published><updated>2010-02-24T01:21:00Z</updated><content type="html">This is from Chris Lee, Senior Program Manager for SQL Connectivity at Microsoft: The Microsoft SQL Server Connectivity team has received feedback indicating interest in ODBC support for non-Windows platforms and is now conducting a more detailed survey of this area. The survey takes less than 10 minutes to complete and you can take part by clicking on the following link https://www.surveymonkey.com/s/SQL_Server_multi-platform_ODBC_survey . The is open until March 10th. Your input will help shape...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/23/odbc-multiplatform-survey-microsoft-needs-your-input.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=22591" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Don’t take the SSMS login for granted!</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/12/don-t-take-the-ssms-login-for-granted.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/12/don-t-take-the-ssms-login-for-granted.aspx</id><published>2010-02-13T02:24:26Z</published><updated>2010-02-13T02:24:26Z</updated><content type="html">My boss couldn’t login using SSMS after he told me to drop a database no longer in use. It was easy to fix. Think about it – he could login before the database was dropped, but not after. It was his default database. When your default database does not exist or otherwise isn’t valid, your login fails. I reset his default database to a valid database and he could login. But he wanted to know what he could have done in case I wasn’t around. I thought of sqlcmd, but knew there had to be other workarounds....(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/12/don-t-take-the-ssms-login-for-granted.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=22262" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>SQL Heartbeat – my favorite free tool</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-heartbeat-my-favorite-free-tool.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-heartbeat-my-favorite-free-tool.aspx</id><published>2010-02-12T02:16:00Z</published><updated>2010-02-12T02:16:00Z</updated><content type="html">There are many great scripts available for monitoring SQL Server. But admit it, don’t you miss animation and color? I’ve been using SQL Heartbeat for about two weeks and I really appreciate the animation and color. These features make the output highly effective and easy to grasp. Processes grow larger as they use more resources. Lines appear between processes when locking occurs. I find the tool so useful I leave it up all day on my secondary monitor. There have been several times when the only...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-heartbeat-my-favorite-free-tool.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=22209" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>SQL Search - free tool for searching your SQL Server</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-search-free-tool-for-searching-your-sql-server.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-search-free-tool-for-searching-your-sql-server.aspx</id><published>2010-02-11T16:52:00Z</published><updated>2010-02-11T16:52:00Z</updated><content type="html">I downloaded Red Gate's new free utility SQL Search http://www.red-gate.com/products/SQL_Search/index.htm earlier this week. A coworker just asked me if there is an easy way to search all stored procedures for a specific string. SQL Search was the answer! It exceeded my expectations. SQL Search integrates with SSMS and is completely intuitive. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/02/11/sql-search-free-tool-for-searching-your-sql-server.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=22166" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Helping Haiti: Geeks Building Applications at CrisisCamp</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/19/helping-haiti-geeks-building-applications-at-crisiscamp.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/19/helping-haiti-geeks-building-applications-at-crisiscamp.aspx</id><published>2010-01-19T18:24:00Z</published><updated>2010-01-19T18:24:00Z</updated><content type="html">Stop what you're doing and go to http://crisiscommons.org/ and see how you can use your geekiness to help the people in Haiti. So far there are 8 cities in the United States holding CrisisCamps for Haiti this Saturday, January 23. There's a lot going on and more to be done. I'm sure there's a place for you. If you can't travel to one of the CrisisCamps, cash is always helpful. Low on cash? Have a garage sale. Have any gold coins you received as a gift or bought as investment? Gold prices are relatively...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/19/helping-haiti-geeks-building-applications-at-crisiscamp.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=21205" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Vote on Connect: Graphical UI for SQL Server Agent</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/13/vote-on-connect-graphical-ui-for-sql-server-agent.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/13/vote-on-connect-graphical-ui-for-sql-server-agent.aspx</id><published>2010-01-14T03:36:48Z</published><updated>2010-01-14T03:36:48Z</updated><content type="html">When you only have a few SQL Server Agent jobs, it’s easy to keep track of and make sense of them. I’m using a graphical free tool called SQLjobvis (screen capture below), available at http://www.sqlsoft.co.uk/sqljobvis.php . It provides a visual view of completed SQL Server Agent job steps. See the screen capture below. Wouldn’t it be great if Microsoft offered a graphical UI for SQL Server Agent? I’d like Microsoft to provide viewing and graphical editing of SQL Agent job schedules. Please vote...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/13/vote-on-connect-graphical-ui-for-sql-server-agent.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=21028" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Getting off to a good start</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/01/getting-off-to-a-good-start.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/01/getting-off-to-a-good-start.aspx</id><published>2010-01-01T22:20:45Z</published><updated>2010-01-01T22:20:45Z</updated><content type="html">There are several things I do to get each New Year’s Day off to a good start. All of my machines have been to Windows Update today and are updated and defragmented. My DBA toolkit on a stick is completely new for 2010. When I went to http://portableapps.com and downloaded the latest full suite , it was a pleasant surprise to find out that the portable version of Open Office finally works on 64-bit systems. These are my recommendations for portable applications you might want to add: 7-Zip portable...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2010/01/01/getting-off-to-a-good-start.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=20441" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Virtual PC and Virtual Server hotfixes and updates</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/29/virtual-pc-and-virtual-server-hotfixes-and-updates.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/29/virtual-pc-and-virtual-server-hotfixes-and-updates.aspx</id><published>2009-11-29T18:31:00Z</published><updated>2009-11-29T18:31:00Z</updated><content type="html">Many of you use Virtual PC and Virtual Server, but not many people are aware of some new hotfixes and security updates released in 2009. Before getting to those, the latest versions of those two products are Virtual PC 2007 Service Pack 1 and Virtual Server 2005 R2 Service Pack 1. You first need to be at that level. Here is a hotfix rollup for Virtual PC 2007 SP1: http://support.microsoft.com/kb/958162 released February 20, 2009 This is a security update for Virtual PC 2004, Virtual PC 2007, Virtual...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/29/virtual-pc-and-virtual-server-hotfixes-and-updates.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=19304" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>White elephant gift exchange for DBAs</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/25/white-elephant-gift-exchange-for-dbas.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/25/white-elephant-gift-exchange-for-dbas.aspx</id><published>2009-11-26T02:30:00Z</published><updated>2009-11-26T02:30:00Z</updated><content type="html">In the holiday season, white elephant gift exchanges are somewhat popular in the workplace. This is a really great definition from Wikipedia : "the term white elephant refers to a gift whose maintenance cost exceeds its usefulness." Now that definitely describes some databases I've seen! We can do a white elephant gift exchange of worst schemas. Here's my white elephant constructed of snippets from real production databases: create table [table] ( [column] varchar ( 1 ) --think Hungarian notation...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/25/white-elephant-gift-exchange-for-dbas.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=19203" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Windows 7 Problem Steps Recorder</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/21/windows-7-problem-steps-recorder.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="156002" href="http://sqlblog.com/blogs/john_paul_cook/attachment/19083.ashx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/21/windows-7-problem-steps-recorder.aspx</id><published>2009-11-21T21:16:00Z</published><updated>2009-11-21T21:16:00Z</updated><content type="html">The Windows 7 Problem Steps Recorder is yet another reason to upgrade to Windows 7. It records what the user actually did, not what the user claims to have done. I used it to record the attached session of running an invalid T-SQL query in SSMS. When the recording was made, there was a step I added that’s not completely obvious from the recorded output. Notice that the query I executed was highlighted. I did a Control-C to copy the query into the past buffer. The Control-C event was recorded as User...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/21/windows-7-problem-steps-recorder.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=19083" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>SQL Risk and Health Assessment Program (SQLRAP)</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/sql-risk-and-health-assessment-program-sqlrap.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/sql-risk-and-health-assessment-program-sqlrap.aspx</id><published>2009-11-19T17:47:00Z</published><updated>2009-11-19T17:47:00Z</updated><content type="html">The SQL Server Riadk and Health Assessment Program, otherwise known as SQLRAP, isn't well known. It hasn't been blogged about much. Today I'm analyzing SQLRAP output and developing a plan to implement changes it suggests. You can read more about the program here: http://www.microsoft.com/downloads/details.aspx?familyid=8D54DB4D-3232-4CF8-8BA5-E80557835421&amp;amp;displaylang=en The SQLRAP service is when you pay for a premier support engineer to come to your site and run the SQLRAP tools to collect metrics...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/sql-risk-and-health-assessment-program-sqlrap.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=18984" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry><entry><title>Script to determine cardinality for index analysis</title><link rel="alternate" type="text/html" href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/script-to-determine-cardinality-for-index-analysis.aspx" /><id>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/script-to-determine-cardinality-for-index-analysis.aspx</id><published>2009-11-19T13:32:00Z</published><updated>2009-11-19T13:32:00Z</updated><content type="html">When reviewing a client's database, I suspected there might be indexes on low cardinality (i.e., low "uniqueness") columns. Typing COUNT ( DISTINCT colName )) became tedious quickly. Time for a script. Oops, wait, in deference to proponents of test driven development, time for a test case and then time for a script. Here's the test case: CREATE TABLE dbo . CardinalTest ( a bigint NULL, b binary ( 50 ) NULL, c bit NULL, d char ( 10 ) NULL, e date NULL, f datetime NULL, g datetime2 ( 7 ) NULL, h datetimeoffset...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/19/script-to-determine-cardinality-for-index-analysis.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=18971" width="1" height="1"&gt;</content><author><name>John Paul Cook</name><uri>http://sqlblog.com/members/John+Paul+Cook.aspx</uri></author></entry></feed>