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
Remote Web Workplace / RDP
Sonicwall E5500 bandwidth/shaping vs Packetlogic PL5600
ASP - Masterpage issue with Home.asp
ssh 1.99 vs 2.0
Search and replace script
Is there a better docmd.sendobject method to send query results?
What is the next number of this number sequence? - General Math Question
XP install without access to CD drive
Perl Iteration issue
how to make vlookup work