「PostgreSQL入門」INSERT INTO~ RETURNINGのサンプル

形式
INSERT INTO M_STUDENT (SID,SNAME,SADDR) VALUES ( ? ,? ) RETURNING *
SQL構文例
INSERT INTO M_STUDENT(SID,SNAME,SADDR) VALUES ( 201 ,’yamada’,’山口県’ ) RETURNING *

Comments are closed.