mysql - split string and insert trigger phpMyAdmin -


I want to get the name in the test table and divide it as "from" to the word and division; Insert that stripal string into the ABC table, and the trigger was removed, but when it was inserted into the probe, an error occurred in "# 1172 - resulting in more than one line" phpMyAdmin. Please help me with this.

If the drop trigger is present then 'split_after_insert`; Create defender = `Route` @` localhost`, after the entry on `test` for each line, revoke` split_uppercart` vName varchar (50); - Person name INSERT in the table SELECT SUBSTR (name, (get the name (by name "by name"), 20) from the test in VNNam; - Enter the record in ABC table in ABC (A) value (vName); END

  drop trigger if current `j`; After entering the `test` for each line, start DEFINER =` Route`` `localhost` trigger`J`; Vname varchar (100); DECLARE vtemp varchar (100); Choose new.name in Vtemp; - Insert INSERT to the table in the SELECT SUBSTR (vtemp, (POSITION ("vtemp" +3), 20) find the name of the person in Intel VName; - Enter the record in the ABC table and enter it in the `ABC` (` A`) values (VName); END  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -