insert into table1 (name) values('test'); select SCOPE_IDENTITY(); マイクロソフト SQLサーバーでのPHPのlastinsertedid()風。 オートナンバーで自動的に追加された行のIDを取得。 新規 追加 lastinsertid



2011-03-31

関連