How can we execute a DOS command from Sql Server?

 Posted by Vishalneeraj-24503 on 3/1/2015 | Category: Sql Server Interview questions | Views: 304 | Points: 40
Answer:

Using xp_cmdshell extended Stored Procedure:-
exec xp_cmdshell 'dir c:\*.exe'


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response