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 to create view in stored procedure sql server?
What is the use of set nocount on/off statement?
What is 2nf in normalization?
What are the drawbacks of reporting in ssrs?
you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration
how will add additional conditions in sql?
How to convert a unicode strings to non-unicode strings?
how can you check the level of fragmentation on a table? : Sql server administration
What is dbcc command in sql server?
What are the requirements to use odbc connections in php scripts?
What is a data collection table?
Explain the Ways to improve the performance of a sql azure database?
What is an index. What are the types?
A trigger can reference objects outside the current database? State true or false.
What does it mean to be in union?