TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
122.7k
How to open external exe file from SQL Query
May 6 2016 2:34 AM
Dear,
How to open external exe file from SQL Query.
I activate
USE master
GO
EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE WITH OVERRIDE
GO
then pass query but not run below is query
DECLARE @command varchar(8000)
SET @command = 'C:\MyProgram.exe'
EXEC master..xp_cmdshell @command
When i pass the query is not showing executing but not open exe file.
Thanks
Basit.
Reply
Answers (
4
)
Need the in & out time with total working hours
Stored Procedure From Scratch. Syntax, Rules & Generalisatio