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
Ramon Quintana
NA
404
65.9k
Access denied using XP_CMDSHELL
Sep 20 2018 3:18 PM
Hi, I tried to create a TXT file from SQL SERVER 2012 using "XP_CMDSHELL" but i got a msg "Access Denied"
Something like this:
DECLARE @cmd sysname, @var sysname;
SET @var = 'Hello world';
SET @cmd = 'echo ' + @var + ' > var_out.txt';
EXEC master..xp_cmdshell @cmd;
what´s could be wrong??
Reply
Answers (
1
)
How can i INSERT a @@rowcount in a table camp
Order by clause - excluding one value