Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL to purge old orders and customers
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL to purge old orders and customers
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01162715
Message ID:
01162715
Views:
47
I have a cust.dbf and an orders.dbf. I want to create some SQL to purge older records. If the customer has not ordered anything in the last two years, I want to delete all his orders and his customer record. There is a unique CUST_KEY field in cust.dbf and orders.dbf. orders.dbf also has SEQ and ADD_DT fields.

Thanks

Brenda
Next
Reply
Map
View

Click here to load this message in the networking platform