MySQL Forums
Forum List  »  MySQL for Excel

Re: Truncate Table to import new Data to SQL
Posted by: Javier Treviño
Date: June 06, 2016 12:14PM

Hi Samantha,
Let me see if I am understanding your intentions. Do you want to treat a MySQL table as a temporary storage where its contents are deleted every time you dump Excel data into it? If this is the case I don't see the use of a table whose data is deleted over and over.

I don't know about PHP code, but have you considered using a trigger at the Server side that cleans up the date on every insert?


Javier Treviño
MySQL on Windows Team

Options: ReplyQuote

Written By
Re: Truncate Table to import new Data to SQL
June 06, 2016 12:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.