Quantcast
Channel: Pro·te·an
Browsing latest articles
Browse All 24 View Live

Image may be NSFW.
Clik here to view.

Disabling TDE on SQL Server 2008

Or more accurately: Preparing an encrypted TDE enabled database for restore on a Standard Edition SQL Server I recently had the challenge of restoring an encrypted database on to a standard edition...

View Article


Image may be NSFW.
Clik here to view.

Get the query and execution plan for a session

A simple piece of code to help you get the execution plan and the query text for a currently running query. This is especially useful when dynamic sql is being run against your database or if DBCC...

View Article

Image may be NSFW.
Clik here to view.

ASP.Net – Sending Email Asynchronously

I’ve spent a lot of time over the last few months building a website, and as always, there is much help and information available on the internet. Something I struggled with however was the sending of...

View Article

Image may be NSFW.
Clik here to view.

Isn’t it ironic

It’s quite ironic that being an ETL and database developer by trade, it has actually been easier to upgrade this website manually, literally copying and pasting each of the blog entries. SSIS which is...

View Article

Image may be NSFW.
Clik here to view.

A simple restore script

This is a simple script that finds all (backup) files in a directory that match a pattern specified. It then derives the database name from the filepath and attempts to do a full restore. It should be...

View Article


Image may be NSFW.
Clik here to view.

A cleaner meaner website!

Well it has taken a long time to finally move off of WordPress 2.0, but we have finally done it. Welcome to the new look Protean IT!

View Article

Image may be NSFW.
Clik here to view.

The Developer DBA toolkit

Fellow developers are often surprised at how much I use command line and xp_cmdshell. The reason for this is two fold: It saves a lot of time because it means that you don’t always have to remote on to...

View Article

Image may be NSFW.
Clik here to view.

What port number does my SQL Server listen on?

Looking for an easy way to know what port number your SQL Server is listening on? You can of course go to the Configuration Manager or check through the registry… but an even simpler way is to query...

View Article


Image may be NSFW.
Clik here to view.

Include HTML in a SSIS Configuration File

This stumped me for a while, but a useful pointer from a colleague reminded me how this can be achieved… Quite simply as the configuration file is XML we can use CDATA so that the content won’t be...

View Article


Image may be NSFW.
Clik here to view.

Simple PS script to copy files from one share to another

XCopy is great but sometimes you need something a little more powerful. Powershell can give you the ability to perform more complex manipulations. Here we’re finding the previous weekday and using it...

View Article
Browsing latest articles
Browse All 24 View Live