Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 29th, 2005, 12:22 PM
Authorized User
 
Join Date: Nov 2005
Location: , , Spain.
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default Updating table every now and then

Hi,

Is there a way I can give a command it will execute an SQL Syntax every x minutes?
I need to update a table every x minutes with new data from other tables....

I thought of executing a page every x minutes from the page the user is watching the data.

Can this be done?

Regards,

David


Reply With Quote
  #2 (permalink)  
Old December 1st, 2005, 02:22 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi David,

Could you create the file as a vbs / js / wsf script file and execute it using the windows task scheduler on the server?

HTH,

Chris

Reply With Quote
  #3 (permalink)  
Old December 2nd, 2005, 03:12 AM
Authorized User
 
Join Date: Nov 2005
Location: , , Spain.
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi Chris,

I will take a look at it. At this moment I tried the next:

Created an ASP Page which contains the SQl Syntax and in the <HEAD> I have a refresh command for every 120 secs. So this way it will update the table with new data.

This page will be executed on the server.... Still it isn´t the best way, but works. Maybe I will make a little EXE in Powerbuilder and run it in the sheduler on the server

Thx for the great idea!

regards,

David


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating one table with data from another table dirtdog22 Access VBA 1 January 21st, 2008 04:41 PM
Updating Table gregalb SQL Server 2000 1 June 2nd, 2007 04:39 PM
Updating table Hudson40 Access VBA 6 March 23rd, 2005 12:07 PM
Instant updating of table Hudson40 Access VBA 2 January 26th, 2005 11:52 AM
updating table markhardiman Classic ASP Databases 2 September 29th, 2004 12:35 PM



All times are GMT -4. The time now is 05:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.