We walk in the dark places no others will enterWe stand on the bridge and no one may pass
CREATE DATABASE [This Is a Stupid DB Name + 7] DROP DATABASE [This Is a Stupid DB Name + 7]
The allow updates option is still present in the sp_configure stored procedure, although its functionality is unavailable in Microsoft SQL Server 2005 (the setting has no effect). In SQL Server 2005, direct updates to the system tables are not supported.
declare @sql nvarchar(500)set @sql = " --drop database ['+database_name(16)+'];'-- commented the @SQL to prevent copy paste test disaster !!exec (@sql)
Jul 13