Andy Warren

I'm Andy Warren, currently a SQL Server trainer with End to End Training. Over the past few years I've been a developer, DBA, and IT Director. I was one of the original founders of SQLServerCentral.com and helped grow that community from zero to about 300k members before deciding to move on to other ventures.

Script to Attach Multiple MDF

Copies mdf files located in a directory on a client and attaches them to the connected server. This is the winning solution to the contest that was presented in an article posted at http://www.sqlservercentral.com/columnists/awarren/reattachingdatabases-somecodeandacontest!.asp. That article shows how to do the same thing using DMO. Wynn Muse is the author of this stored procedure.

2001-09-23

2,754 reads

Blogs

Daily Coping 27 Nov 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Daily Coping 26 Nov 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Azure SQL Database – Greatest and Least TSQL

By

Being in the cloud does have many benefits, from lower administration to fast scaling...

Read the latest Blogs

Forums

Bad career advice from a 14 year old

By Kathi Kellenberger

Comments posted to this topic are about the item Bad career advice from a...

SQL - MAX minus 1

By Rsj_88

Hi Guys,   Wondering if any1 can help i need a Sql statement to...

CMS

By mtz676

I am running a bunch of queries on the Central mangement server across 100's...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers