Microsoft
Software
Hardware
Network
Question : Error on DROP DATABASE @DBName
The follwing is giving me an error -
Declare @DBName as varChar(200)
Set @DBName = 'somedatabase'
IF EXISTS(SELECT name FROM sys.databases WHERE name = @DBName)
DROP DATABASE @DBName
GO
It does not like the line
DROP DATABASE @DBName
Answer : Error on DROP DATABASE @DBName
EXEC('DROP DATABASE ' + @DBName)
Random Solutions
Windows 7 recently used programs is blank
Spring AOP implimentation to access database connection pool
WHAT IS PROTEGE?
SBS 2003 Backup Solution
Auto Send Excel as Email Attachment
Sorting in Java
LINQ can't be used in Web app?
Dataform Combo
Default Printer Changes using Terminal Server
Use different HTTP Redirects on multiple virtual directories in IIS 7.5