本文主要介紹了mysql實現創建存儲過程并循環添加記錄的方法,涉及基本的mysql存儲過程創建、調用相關操作技巧,需要的朋友可以參考下,希望能版主到大家。
先創建,然后調用:
--?創建存儲過程 DELIMITER;// create?procedure?myproc() begin declare?num?int; set?num=1; while?num?<p>相關推薦:<br></p><p><a href="http://www.php.cn/mysql-tutorials-383128.html" target="_self">詳細講解mysql的存儲過程、游標 、事務</a></p><p><a href="http://www.php.cn/mysql-tutorials-383128.html" target="_self">詳細講解mysql的存儲過程、游標 、事務</a></p><p><a href="http://www.php.cn/mysql-tutorials-383128.html" target="_self">詳細講解mysql的存儲過程、游標 、事務</a></p>
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END