dbTalk Databases Forums  

How to Schedule a SQL Script

comp.databases.btrieve comp.databases.btrieve


Discuss How to Schedule a SQL Script in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Anisy
 
Posts: n/a

Default How to Schedule a SQL Script - 12-10-2003 , 02:11 PM







Hi,
Does anyone know a way to schedule a simple SQL script using P2000 or PV8 to
run automatically at a predetermined time?



Cheers

John





Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: How to Schedule a SQL Script - 12-10-2003 , 02:55 PM






Internally, there's no option to do this at this time. However, you can
schedule a SQL script to execute via a command line. It should be possible to
write a Perl script to do this, if you want to dig into some code.

Our SQLExec utility provides the same functionality as well, from any Win32
command line. It can be quite useful for either executing entire scripts of
statements (such as building new databases during an application installation)
or scheduling scripts or stored procedures. See
http://www2.goldstarsoftware.com/sqlexec.htm for more details. I can also get
you a trial version, if you want to see if it'll work for you.
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Pervasive.SQL Service & Support Classes ***
Chicago: March, 2004: See our web site for details!


John Anisy wrote:

Quote:
Hi,
Does anyone know a way to schedule a simple SQL script using P2000 or PV8 to
run automatically at a predetermined time?

Cheers

John


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.