Hi!
I would appreciate having ideas on how to implement in an efficient way a "time vector" for several tables in a database.
Imagine thousands of stores, hundreds of people in promotion activities, dozens of products, promotions, etc.
Imagine that people in promotion "rotate" among the stores as per management definition, promotions go "on" and "off", new products are included, etc.
I need to find for example, which stores have not been visited by the assigned person in a given week. (and similar reports, like sales of (then active) products in a given week, etc.
OK, you've got the idea. The question is not regarding the SQL code.... What I am looking for is for a good stratagy for handling such a situation (sort of time tracking). Any good (efficient) ideas you could provide?
Thanks in advance
Regards
I would appreciate having ideas on how to implement in an efficient way a "time vector" for several tables in a database.
Imagine thousands of stores, hundreds of people in promotion activities, dozens of products, promotions, etc.
Imagine that people in promotion "rotate" among the stores as per management definition, promotions go "on" and "off", new products are included, etc.
I need to find for example, which stores have not been visited by the assigned person in a given week. (and similar reports, like sales of (then active) products in a given week, etc.
OK, you've got the idea. The question is not regarding the SQL code.... What I am looking for is for a good stratagy for handling such a situation (sort of time tracking). Any good (efficient) ideas you could provide?
Thanks in advance
Regards