Click here to Skip to main content
15,891,745 members
Home / Discussions / Database
   

Database

 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:27
professional dan!sh 11-Dec-08 5:27 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 5:29
mentorWendelius11-Dec-08 5:29 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:41
professional dan!sh 11-Dec-08 5:41 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Parwej Ahamad11-Dec-08 5:43
professionalParwej Ahamad11-Dec-08 5:43 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:45
professional dan!sh 11-Dec-08 5:45 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 5:45
mentorWendelius11-Dec-08 5:45 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:47
professional dan!sh 11-Dec-08 5:47 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 6:05
mentorWendelius11-Dec-08 6:05 
Did you try -T after using the instance name with -S?

Also with -S and -T switches, what kind of error message you get. The test call I used for this is:
exec master..xp_cmdshell 'bcp "SELECT GETDATE()" queryout "e:\result.txt" -S ".\SOMEINSTANCENAME" -c -T'
Note that I'm using dot instead of server name. This may affect the protocol used.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 6:23
professional dan!sh 11-Dec-08 6:23 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 7:17
mentorWendelius11-Dec-08 7:17 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 7:59
professional dan!sh 11-Dec-08 7:59 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 8:03
mentorWendelius11-Dec-08 8:03 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 8:05
professional dan!sh 11-Dec-08 8:05 
QuestionNumber of open connections Pin
blackjack215011-Dec-08 3:13
blackjack215011-Dec-08 3:13 
AnswerRe: Number of open connections Pin
Wendelius11-Dec-08 4:11
mentorWendelius11-Dec-08 4:11 
Questionsql reporting services Pin
member2711-Dec-08 2:28
member2711-Dec-08 2:28 
AnswerRe: sql reporting services Pin
Wendelius11-Dec-08 4:13
mentorWendelius11-Dec-08 4:13 
GeneralRe: sql reporting services Pin
member2714-Dec-08 19:12
member2714-Dec-08 19:12 
GeneralRe: sql reporting services Pin
Wendelius15-Dec-08 5:45
mentorWendelius15-Dec-08 5:45 
QuestionShould I store flash advertisements in DB? Pin
Mohammad A Gdeisat11-Dec-08 0:29
Mohammad A Gdeisat11-Dec-08 0:29 
AnswerRe: Should I store flash advertisements in DB? Pin
Wendelius11-Dec-08 5:35
mentorWendelius11-Dec-08 5:35 
GeneralRe: Should I store flash advertisements in DB? Pin
Mohammad A Gdeisat11-Dec-08 5:55
Mohammad A Gdeisat11-Dec-08 5:55 
GeneralRe: Should I store flash advertisements in DB? Pin
Wendelius11-Dec-08 6:08
mentorWendelius11-Dec-08 6:08 
GeneralRe: Should I store flash advertisements in DB? Pin
Mohammad A Gdeisat11-Dec-08 6:12
Mohammad A Gdeisat11-Dec-08 6:12 
QuestionStore Multiple values in one Column. Pin
astrovirgin10-Dec-08 21:54
astrovirgin10-Dec-08 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.