I am regular user of MS-SQL but now working on a project which has mysql as a back-end.
Please tell me that is there exists such a inserted/Deleted tables (Magic tables) in mysql which I can use inside trigger or in normal queries.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are called
NEWandOLDin MySQL.NEWis the new record to be inserted or the updated data.OLDis the deleted record, or the old data before an update.See the documentation for creating a trigger here: http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html