理解Mysql語句:insert 表名 select null 及 select last_insert_id()

1、問題 看代碼的時候,在項目的sqlMap.xml裏看到了這樣語句:html <insert id="add"> insert <include refid="tableName"/> select null ; <selectKey resultClass="long" > select last_insert_id() as ID ;
相關文章
相關標籤/搜索