D Randall Pitkin (6/5/2009)
OLD!! osql is depricated, and not all users will have osql, isql or sqlcmd availableBetter to use a small vbs script
which allows both Trusted connections and embedded user name and password
Why don't you post us a vbscript here so we can see how it works.
This script works fine for me because I can schedule it in the Windoews' scheduler. You see, my one client has a relatively small business and at this point cannot afford a SQL Server 2008 full version so they use the express version. Therefore I cannot schedule backups and other jobs in SQL Server so I'll use this script to run a scheduled job in Windows.
Thanks for this cscript and no matter what anyone else say if they don't think it is good the they must post something better. Amen
:-PManie Verster
Developer
Johannesburg
South Africa
I can do all things through Christ who strengthens me. - Holy Bible
I am a man of fixed and unbending principles, the first of which is to be flexible at all times. - Everett Mckinley Dirkson (Well, I am trying. - Manie Verster)