Opening a SQL file against a multiserver query window with Windows authentication fails
Thursday, October 1, 2009Labels: SQL Server - SSMS, SQL Server 2008
Opening a SQL file against a multiserver query window with Windows authentication failsThursday, October 1, 2009Workaround: Open a blank query window, and paste in the contents of the SQL script you want to run. If you're blighted by this bug as well, please vote it up in Microsoft Connect. Labels: SQL Server - SSMS, SQL Server 2008 This version of Microsoft SQL Management Studio can only be used to connect to SQL Server 2000 and SQL Server 2005 serversTuesday, July 14, 2009Yes it can, provided that you have kept your 2005 installation up to date! We're in the process of upgrading our environment to SQL Server 2008. Some folks have been unable to install SSMS 2008 for various exciting reasons related to an inability to apply Visual Studio 2008 SP 1 (a documented Microsoft bug). This isn't really a problem -- you can use SSMS 2005 to connect to SQL Server 2008, you just won't get the new SSMS features. Occasionally, though, a particularly laggardly developer who is just now trying for the first time to connect to our development 2008 instance will email me a screencap of the following dialog box and testily inform me that it NOT TRUE that you can use 2005 to connect to 2008 (they're fond of capslock, those developers). ![]() The problem is on the workstation end -- a failure to keep SSMS 2005 properly patched. Simply apply SQL Server 2005 SP 2 (it came out in 2007, for crying out loud!), and you'll have no problems using SSMS 2005 to connect to SQL Server 2008. Labels: SQL Server - SSMS, SQL Server 2008 Maintenance Plan Cleanup TasksFriday, October 19, 2007Once you successfully add a maintenance cleanup task, how do you get it to delete .bak, .dif and .trn files all in the same task? Leaving the extension box blank doesn't result in anything getting deleted. The secret is to enter * as the extension. The period before the extension should be omitted. Labels: SQL Server, SQL Server - Backups, SQL Server - SSMS SSMS: Keyboard shortcut for "change connection"Thursday, July 20, 2006When deploying database code, I'm running each SQL script on several servers, and having to click the "change connection" button dozens of times in SSMS is very frustrating. I submitted this as a bug to Microsoft, and Bill Ramos offered the following method for creating a keyboard shortcut:
I love this shortcut. I use it dozens of times daily. It's still too much overhead for deploying, though, so I either use Query Analyzer (open a window, drag all the files into it, and they all open with a connection to that same server without prompting) or an application I wrote to accept a deploy list, get the files from our source control provider, and put them all into one script with appropriate USE [database] statements. Labels: SQL Server, SQL Server - SSMS |
|||