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
Do you know the isolation level that sql server support?
Do you know what are the reporting services components?
What happens if null values are involved in bitwise operations?
What is parameterized reports in ssrs ?
What new changes are being made in SQL Server?
What are the restrictions while creating batches in sql server?
Do you know sql server 2008 introduces automatic auditing?
What are group functions in query statements in ms sql server?
What is co-related sub query?
What are the differences between DDL, DML and DCL in SQL?
How to return the second 5 rows in ms sql server?
What are the different authentication modes in sql server?
What is the recovery model? List the types of recovery model available in sql server?
what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration
Tell me about pre-defined functions of sql?