eddyb2 Posted November 28, 2008 Posted November 28, 2008 (edited) Hi all, Not sure quite how to go about this one, I'm sure it is quite straight forward to someone here! I have 2 tables: DataToday DataHistoric At the end of the business day, someone will run a script which takes the data from DataToday (100 records) and adds these 100 records into the dataHistoric table. It is only about 100 records, maybe a few more, maybe a few less but not exactly 100. Would a script be the best way to go about this? Many thanks Ed Edit: Should have mentioned that a script runs the following morning deleting all records in DataToday to clear it ready for that day Thanks Edited November 28, 2008 by Guest
eddyb2 Posted November 28, 2008 Author Posted November 28, 2008 Sorry I would like to change this slightly. What I would actually need is for each night a script to run that looked in the DataHistoric table and exports all the records taht have a date of today into the DataToday table I dont want to have to do an export then a seperate script to do an import which is the only way I know how I could do that. Many thanks again Ed
Recommended Posts
This topic is 5840 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now