Execute an Operating System Command From Within SQL Server.



The xp_cmdshell extended store procedure makes it possible to execute operating system commands from within SQL Server.
Example:

EXEC Master..xp_cmdshell ‘Dir c:\’




Explore posts in the same categories: SQL Interview Questions


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |


Comment:

You must be logged in to post a comment.