Mysql
 sql >> Database >  >> RDS >> Mysql

Conversione di Oracle Trigger in MySql Trigger

MySQL non usa i due punti e ci sono alcune altre variazioni minori. Penso che questo funzionerà:

; , Reg_num, indirizzo_code, indirizzo_text, telefono, education_level_code, profession_code, profession_text, mensile_income, work_place, work_address_text, id_doc_type, id_doc_num1, id_doc_num2, id_doc_date, note, uffici, creato_by, creato_by, updated_on, sysc_on) .LOAN_NUMBER, OLD.CLIENT_SEQ_NUM, OLD.FIRST_NAME, OLD.PATHER_NAME, OLD.FAMILY_NAME, OLD.MOTHER_NAME, OLD.NATIONALITY, OLD.SEX, OLD.BIRTH_PLACE_CODE, OLD.BIRTH_PLACE_TEXT, OLD.BIRTH_DATE, OLD.REG_PLACE_CODE, OLD.REG_PLACE_TEXT , OLD.REG_NUM, OLD.ADDRESS_CODE, OLD.ADDRESS_TEXT, OLD.PHONE, OLD.EDUCATION_LEVEL_CODE, OLD.PROFESSION_CODE, OLD.PROFESSION_TEXT, OLD.MONTHLY_IN COME, OLD.WORK_PLACE, OLD.WORK_ADDRESS_TEXT, OLD.ID_DOC_TYPE, OLD.ID_DOC_NUM1, OLD.ID_DOC_NUM2, OLD.ID_DOC_DATE, OLD.NOTES, OLD.OFFICE, OLD.CREATED_BY, OLD.CREATED_ON, OLD.UPDATED_BY, OLD.UPDATED_ON, 'I');END$$DELIMITER;