Modify SQL Agent Jobs using PowerShell and SMO
So here we are, week 2 of the #SQLNewBlogger Challenge. This is a follow on to last weeks post Monitoring...
2015-04-27 (first published: 2015-04-14)
9,006 reads
So here we are, week 2 of the #SQLNewBlogger Challenge. This is a follow on to last weeks post Monitoring...
2015-04-27 (first published: 2015-04-14)
9,006 reads
Follow the yellow brick Road!
Original Image Credit: airdiogo on flickr
If you would have asked me 2 years ago if...
2015-04-21
2,009 reads
For those of you who don’t know who Mr. Krabs is, he is a character in the TV show Sponge...
2015-04-02
574 reads
March 26th, 2015, a date which will live in infamy!
Well, at least for me it will. March 26th, 2015...
2015-03-30
917 reads
Saw this on twitter and thought I would throw it up on the blog. Easier than responding on twitter.
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null;
$SQLServerInstance...
2015-03-24
420 reads
My cheap and dirty PowerShell script for dumping the disk space usage for a Windows machine. It was originally some...
2015-03-24
477 reads
I like to initialize my arrays by strongly typing my variable as an array, and setting it to null. PowerShell...
2015-03-24
697 reads
So I was reading the following blog post by Brent Ozar and I think it finally hit me right between the...
2015-03-24
323 reads
The question was this:
This is just a quick/fast snippet in response to that question, but I can think of a...
2015-03-24
480 reads
I’ve been a problem solver as far back as I can remember, always looking for a new challenge. I love...
2015-03-24
270 reads
This month’s blogging party is hosted by Jeff Ianucci – his challenge is to...
As for me, I'll keep writing whenever time permits. I don't expect every post...
By Steve Jones
This is an interesting invitation this month. Jeff Ianucci is a new host, and...
Comments posted to this topic are about the item Pay for Performance, which is...
Comments posted to this topic are about the item Switching Schemas I
Comments posted to this topic are about the item Enforcing Unique Customer Emails When...
I run this query:
SELECT s.name AS schemaname , o.name AS objectname FROM sys.objects o INNER JOIN sys.schemas s ON s.schema_id = o.schema_id WHERE o.name = 'Beer'I get one row back for an object named dbo.beer. There is an ETL schema and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers