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, Domain: Admin cannot save to C drive from Outlook.
Big DNS problem, some internet servers reporting non-existent domain
GPO to ensure no users are able to bypass the Proxy when browsing the Internet (IE:7 and IE:8)
How do I embed ajax calendar extender in asp.net gridview correctly?
Move jpg files from file server and create shortcut
bootable usb
TRANSACT SQL: COALESCE FUNCTION - DATE RANGES AND NULL VALUES
Problem Installing Windows Server 2003 Enterprise Edition on Dell Precision 390
Exchange 2010 Email policy
Best routers for creating a VPN tunnel between two offices