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 set the forecolor a column in datagridview.vb.net 2005 windows
Maps for my Delphi Nav200
How to stablish a proper setup in MS Outlook 2003 encrypting mails
how can i translate gujarati sentence into english sentence ??
Installer folder essentially empty - now problems
I wanted to parse out text in outlook using VBA and save the values in a spread sheet
OCS 2007 R2 and Cisco call manager
How to make slide wordpress themes?
Motherboard driver CD for HCL - P5GD2-TVM/GB/SI
VMware VirtualCenter Server Service will not stay Started on our vCenter box