Moving over to a new blog... And something about me
Moving over my blog from sqljunkies. At sqljunkies I had made a start with some background articles about SQL Server Management Objects and I have a whole bunch of articles lined up for this blog. A...
View ArticleSQL Server: Tuning your SMO Application for great performance - PART 1...
I'm ramping up for TechED 2005 (Both USA and Europe) and will be giving a couple of talks on SMO. This is a repost of an article from SqlJunkies, as I am still moving these blog entries to MSDN. Ping...
View ArticleStarting with SQL Server 2005 WMI with help of Scriptomatic
SQL Server 2005 introduces a new WMI Provider that allows configuration of Services, Client Network Protocols, and Server Protocols. This is a great improvement for DBA that are managing many SQL...
View ArticleSQL Server: Tuning your SMO Application for great performance -- PART 2
In the previous post I provided you with a fundamental tool to minimize the amount of SQL statements emitted and therefore limit expensive network round-trips (and SQL statements) using the...
View ArticleSql Server: Everything you always wanted to know about SMO Connections
There are several ways of controlling connections in SMO -- you can control pretty much any aspect of a SMO connection.Pooled connectionsLet's take a look at a typical way how you would obtain a...
View ArticleSQL Server: SMO Scripting Basics
Let's first clarify what I mean by "scripting". It often happens during talks or when I explain SMO fundamentals that eyes gloss over, shortly after which the "what * do you mean by scripting" question...
View ArticleSQL Server: Capture Object changes with SMO Capture Mode
In a previous article I have showed how a SMO object can be serialized into a Transact-SQL script, which allows you to recreate the object. What if you want to have the script that is emitted when you...
View ArticleScripting in Microsoft SQL Server 2005 -- Web Cast has finished
I just finished the Scripting in Microsoft SQL Server 2005 webcast.Thanks all for being online (and also thank you MVP's for answering questions!) I was a little nervous doing this (it's a big deck...
View ArticleSQL Server: Table Partitioning in SQL Server 2005
Table and Index partitioning is one if the new SQL Server 2005 features that willl improve life for the DBA and application developer quite a bit. It allows Indexes and Tables to be partitioned across...
View ArticleSQL Server 2005 Easter Egg
In an interview with Gert Drapers, SQLCMD was mentioned as SQL Server 2005's Easter Egg (Gert: "one of the biggest productivity gains for DBA’s in terms of automation"). I hope that I can pull this...
View ArticleUpcoming at TechED: Web Based SQL Server Management Tool (Shared Source!)
Visual Studio .NET 2003 shipped a web based sample application for management of SQL Server, based on ASP.NET and SQL-DMO. We're currently working on an updated version of that tool. This is a quick...
View ArticleProject code named 'Mercury' (not "SQL Server Web Data Administrator")
Granted, I was asking for this. When we were starting the development of the follow-up version of (here comes the culprit) the new SQL Server Web Data Administrator, Euan was still my boss and asked me...
View ArticleTechED: SMO session done! Now what?
The SMO session was on today! Wow the Euro-crowd is tough! (which I heard uttered by various speakers after being shell shocked by unexpected scores) Jet lag and lack of sleep last few days made this...
View ArticleSMO Samples Galore
With much of the SQL Server 2005 devcelopment behind us, I am starting to have some more time to post some SMO samples. Most of these are inspired on questions in the beta newsgroups or the SMO/DMO...
View ArticleSQL Server 2005 -- it's a wrap; but wait -- it's just the beginning!
I'm sure there are lots of coworkers blogging about this. We're done with SQL Server 2005 and it's a very interesting and good feeling. Having worked 5 year on the project, many long days, many...
View ArticleAdd oil to fire: SMO and Monad -- a flammable combination
Euan pointed me to an interesting article about the use of Monad together with SMO. Those who know me well, know I am somewhat of a scripting biggot and still install Cygwin on all of my boxes as I...
View ArticleHow to change the SQL Server password programmatically
Every now and the question comes up how to programmatically modify the service account or password of SQL Server. There basically two ways to accomplish this, using SMO, or WMI. This article shows you...
View ArticleSQL Server Powershell is here!
I am very excited that SQL Server will ship with a pretty solid first release of Powershell extensions with SQL Server 2008. The SQL Server Powershell extensions deliver on a vision that we’ll expand...
View ArticleEvaluating SQL Server Policies through Powershell
I found this ping-back on my previous blog post which gives a good overview of one very useful cmdlet that we ship with the Powershell extensions that SQL Server 2008 will deliver. A very helpful...
View ArticleSome background on the use of minishells, such as SQLPS
Jeffrey Snover posted a very clear article about minishells and SQL Server's use of it: http://blogs.msdn.com/powershell/archive/2008/06/23/sql-minishells.aspx Jeffrey is Powershell's Architect, well...
View Article