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
 General SQL Server Forums
 New to SQL Server Programming
 wscript.sleep doesn't work in SQL?

Author  Topic 

doctortt
Starting Member

8 Posts

Posted - 2007-08-22 : 09:37:43
I setup a maintenance plan in SQL and added some vbscript codes. One line is just wscript.sleep 10000. When I tried to run the job, I received error description: variable is undefined: 'wscript'

What's up with SQL?

doctortt
Starting Member

8 Posts

Posted - 2007-08-22 : 10:49:51
It looks like wscript doesn't work at all in SQL. Why?
I even got error with Set WshShell = Wscript.CreateObject("Wscript.Shell")
I
Go to Top of Page
   

- Advertisement -