May 23, 2007 at 2:49 pm
is it possible to execute a vb script as a job from within sql server?
May 23, 2007 at 3:51 pm
Yes you can use SQL Agent to Execute a VB Script.
Create a new step.
Under Type choose "Operating System Command (CmdExec)"
In command window type the full path of the vbs.
C:\yourvbscript.vbs
May 24, 2007 at 8:11 am
Hi,
Create a new step.
Under Type choose "ActiveX"
Under Language choose "Visual Basic-Script"
In command window type vbs-code...
regards
karl
Best regards
karl
May 24, 2007 at 10:05 am
Thanks
May 24, 2007 at 10:07 pm
You can also call it from xp_CmdShell.
But, what does the VBScript you want to execute actually do? Lot's of folks overlook the power built into SQL Server and try to make up for it by using VBScript...
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply