Microsoft
Software
Hardware
Network
Question : How to use Database name variable in ALTER DATABASE sql script
I need to create a script that is equivalent to the following:
ALTER DATABASE DB_NAME()
but that isn't valid syntax.
Is there anyway to do this via Transact SQL or SQLCMD mode other than by using dynamic sql?
Answer : How to use Database name variable in ALTER DATABASE sql script
>>Is there anyway to do this via Transact SQL or SQLCMD mode other than by using dynamic sql? <<
I am afraid not. You will have to use Dynamic SQL.
Random Solutions
How to run app on local machine and display results in web page
Mouse wheel action on scroller
How can I rotate a video?
How come when I do a copy run start, my config is always gone after a reload???
Help with SEO
Google Analytics
Crystal Report Graphs showing Year with 2 Decimal Places
Exchange 2010 and /exchange error
CentOS 5 mirroring/synchronization over internet for redundancy.
Porting IP Range when changing ISP