Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is ms sql server triggers?

956


Write the SQL query to drop, truncate and delete table.

922


What is the importance of a recovery model?

1007


What are cursors in ms sql server?

1119


What is inner join? Explain with an example?

1125


What is RMS migrations?

2097


What is single-user mode and what are the steps you should follow to start sql server in single-user mode?

938


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

985


What is nonclustered index with included columns ?

916


what does the automatic recovery do? : Sql server administration

968


What is temporary table in sql server? Why we use temp table?

910


What is sql server 2000 work load governor?

986


Do you know the different ddl commands in sql?

1006


What are 3 ways to get a count of the number of records in a table?

1027


When would you use a before or after trigger?

865