Re: T-SQL CLOSE Connection to DB
- From: "coosa" <coosa76@xxxxxxxxx>
- Date: 28 May 2006 04:31:22 -0700
I did actually,
USE [Master];
GO
IF EXISTS (SELECT name FROM sys.databases WHERE name = N'MyDB')
BEGIN
PRINT N'Database [MyDB] already exists';
DROP DATABASE MyDB;
END
GO
.
- Follow-Ups:
- Re: T-SQL CLOSE Connection to DB
- From: coosa
- Re: T-SQL CLOSE Connection to DB
- References:
- T-SQL CLOSE Connection to DB
- From: coosa
- Re: T-SQL CLOSE Connection to DB
- From: Erland Sommarskog
- T-SQL CLOSE Connection to DB
- Prev by Date: Re: Insert a record in a particular place
- Next by Date: Re: SQL Server 2005: CLR functions vs SQL functions
- Previous by thread: Re: T-SQL CLOSE Connection to DB
- Next by thread: Re: T-SQL CLOSE Connection to DB
- Index(es):