This is a discussion on How do you totally empty the mysql catalog without deleting within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; customer data or other data, I just want to start my catalog fresh without tedious deletion of all products. And ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| customer data or other data, I just want to start my catalog fresh without tedious deletion of all products. And once I have my prodcuts reloaded, if there is only sub cat, how do I get the first page to display by default? thanks MrMikl |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| You can use the TRUNCATE syntax to remove all data inserted into a table. Have a look at http://dev.mysql.com/doc/refman/5.0/en/truncate.html to get an idea of what has to be done. If this seems to be beyond you, I would suggest a couple of bandaids and start thumping that delete button. |
|
#3
| |||
| |||
| has anyone posted a MYSQL schema on the whole store or even just the catalog. The above reply is correct, but you must get rid of data in the child tables before you can get rid of the data in the parent tables. The MYSQL Truncate command doesnt mention how it deals with parent-child relationships. Would a regulare OSCOMMERENCE book work here or not, if it had the schema? If you would like a suggestion for OSCmax, it would be a contribution or a built in feature to empty the catalog. Its really a matter of using the DELETE * FROM [TABLENAME] in my sql. Everyone I spoke to seems to think MYSQL is too touchy, so use the catalog funcion to delete items one by one. anyway, thats my 2 cents worth. Thanks MrMikl |
|
#4
| ||||
| ||||
| Write it and I will add it to the codebase...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deleting products_stock, options, and values in mysql | Dubious | osCMax v2 Customization/Mods | 1 | 08-24-2006 05:51 PM |
| Really confused, admin catalog page displays empty??? | b5b4you | osCMax v2 Installation issues | 4 | 08-11-2006 11:44 AM |
| Bulk deleting to repopulate | RoyceK | osCMax v1.7 Discussion | 0 | 01-18-2006 08:28 PM |
| I am totally lost | jallard | osCMax v1.7 Installation | 2 | 01-20-2005 02:15 PM |
| deleting RHS of header | starchild | osCommerce 2.2 Modification Help | 2 | 12-09-2002 05:47 PM |