You'd probably need to create a new stored procedure that mimicks sp_databases (unless there is another one) that allows a parameter to be passed in, which is the database name. Otherwise you get the size of every database in that server...
Okay I guess the first part wasn't really clear.
What I need to do is:
1. Instead of doing a WScript.Echo I want to write to a designated log file. I am guessing I can just (and this is from the help manual):
set fso = CreateObject("Scripting.FileSystemObject")
set tf =...
That's a good question.
I'd really like to know how to do a substring in VBscript (if you can)...
I had something similar and I ended up using a loop to search through the string for all instances of ~ as I was using this to break the file up. And then i used to Split function.
I'd suggest you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.