Quantcast
Channel: Sev17SMO | Sev17
Browsing all 5 articles
Browse latest View live

Powershell + SMO Error Handling Tips

Allen White posted a helpful post on SMO error handling with Powershell. Actually the same concept equally applies to SMO coded in any other .NET language. SMO uses an error object’s InnerException...

View Article



Powershell SQL Server Backup/Restore

I posted a script on Poshcode for doing backups and restores of SQL Server databases using SMO. The script is adapted from SQL Server Powershell Extensions functions of the same name. SMO 9.0 (2005)...

View Article

Image may be NSFW.
Clik here to view.

Hello SMO (F#) World!

Reading The F# Survival Guide has motivated me to write my version of an F# “Hello World!” utility. What I mean by that is to write something simple that I’ve written in other programming languages as...

View Article

Image may be NSFW.
Clik here to view.

The T-SQL Hammer

The over-reliance on a familiar tool is best described with the quote, “if all you have is a hammer, everything looks like nail” and for database professionals this means using or sometimes misusing...

View Article

Using SMO Transfer Class to Script Database Objects

I’ve spent some time trying to get the SMO Transfer class to bend to my will. I want to script out all objects of a certain type or a select list of objects. As we will see a moment this was a bit a of...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images