Method 2 : Use xp_cmdshell – although this does mean enabling xp_cmdshell , which is in many organisations as security violation
exec master..xp_cmdshell 'systeminfo'
Click through for several less controversial methods.
A Fine Slice Of SQL Server
Method 2 : Use xp_cmdshell – although this does mean enabling xp_cmdshell , which is in many organisations as security violation
exec master..xp_cmdshell 'systeminfo'
Click through for several less controversial methods.