Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 run command

Author  Topic 

jtwork
Yak Posting Veteran

82 Posts

Posted - 2008-04-14 : 11:52:14
using server 2000

is it possible to run a command from tsql. the same as if i hit start>run>command and then entered my command and hit return?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-04-14 : 12:03:10
look for xp_cmdshell extended stored procedure in BOL

or refer this:-

http://msdn2.microsoft.com/en-us/library/ms175046.aspx
Go to Top of Page

jtwork
Yak Posting Veteran

82 Posts

Posted - 2008-04-15 : 04:30:19
perfect thanks
Go to Top of Page
   

- Advertisement -