Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Delete Old Order IDs 1 to 3369 Using SQL Query

    What would the SQL syntax be to run a SQLQUERY that deletes all records pertaining to order number 1-3369

    orders
    orders_products
    orders_products_attributes
    orders_products_download
    orders_status_history
    orders_total

    Just need to clear out some of the really old orders. If it's easier to do by a date range then that's an option too.

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Delete Old Order IDs 1 to 3369 Using SQL Query

    Hmmm, it's ok I've found a really good tool for this at apsona.com and it's free! Perfect!!

 

 

Similar Threads

  1. Bulk change to order status using SQL query for certain products?
    By neo2810 in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Feb 2012, 08:34 PM
  2. SQL Query for extracting Order & Customer Details?
    By Rony in forum Managing Customers and Orders
    Replies: 7
    Last Post: 23 Sep 2010, 10:47 PM
  3. Replies: 2
    Last Post: 8 Jan 2009, 01:00 PM
  4. SQL Query to Delete All Products Only
    By toussi in forum General Questions
    Replies: 0
    Last Post: 26 Nov 2008, 06:57 PM
  5. How to delete old orders from order history?
    By David Bo in forum Managing Customers and Orders
    Replies: 3
    Last Post: 17 Jan 2008, 06:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg