How to Execute an Operating System Command From Within SQL
Server ?
Answer Posted / guest
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:\'
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How sql server enhances scalability of the database system?
How to create a new login name in ms sql server?
What do you understand by recursive stored procedure?
What is deploy, process and build? : sql server analysis services, ssas
What does this statement do @@rowcount?
What is temporary table in sql server? Why we use temp table?
What are indexers?
What are various limitations of the views?
can an automatic recovery be initiated by a user? : Sql server administration
What the difference between UNION and UNIONALL?
What protocol does sql server use?
Why do we need normalization?
Do you know the cursor optimization tips?
Differentiate between a primary key and a unique key.
What is buffer cash in sql server?