Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql 2005 cmd shell execution:

Status
Not open for further replies.

malraff

Technical User
Apr 23, 2009
2
0
0
GB
hi all

i have a 3rd party demo software called Crystal Command which lets you execute a crystal report in the background using command shell and save it/email it etc

exec master.dbo.xp_cmdshell @cmd

what i want to do is execute the cmd shell cmds in sql, but when i execute the command the query simply seems to run for ages and other times it runs ok.

on the same sql server i cant use openrowset from excel - it behaves in very much the same way - just looking as if its executing and never ending with no output - openrowset never returns anything!


i have since had to move my scripts and application to a sql 2000 server and link back to sql 2005 - this is working perfectly

- i can openrowset on other servers so my code is fine

has anyone else every experienced such issues?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top