Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 Product Rebate Expire Date

Author  Topic 

rickeyl
Starting Member

2 Posts

Posted - 2009-03-06 : 08:13:19
I have a sql 5 db with oscommerce tables in it. I have created a new table in the products table for product mail in rebates. I can set up the rebate from the website admin and it enters into the db as it should. I also created a table called products_rebate_expire which is also interred from admin. The problem is that this table doesn’t remove the rebate on the expire date. I don’t know if this is something done in sql or if it is done in php.

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2009-03-06 : 11:26:13
you need a scheduled job running daily to locate all "expired items"...and to them amend them accordingly.

sql won't automatically action things based on the "system clock" moving onwards.
Go to Top of Page
   

- Advertisement -