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
What is SQL Azure Federations?
How to list all columns in a table using odbc_columns()?
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
What types of Joins are possible with Sql Server?
What is table valued function and scalar valued functions?
What are the benefits of normalization?
what is bit datatype? : Sql server database administration
Why transaction is important?
Mention the different types of triggers?
Why is replication required on the sql server?
What is lookup override?
How to use user defined functions in expressions?
What does the not null constraint do?
What is measure group, measure? : sql server analysis services, ssas
To which devices can a backup be created and where should these devices be located? : sql server management studio