Salut,
Sur PhpMyAdmin de mon hébergeur j'essaie de faire une procédure stockée dont il y a une très simple insertion :
Code sql : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 truncate table table1 ; insert into table1 (id, aaa, bbb) select (id, aaa, bbb) from table2 ;
Je vois qu'il n y a aucun problème, pourtant une erreur m'est retournée :Est ce qu'il ya une explication et solution pour ca ?MySQL a répondu: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into table1
Partager