INSERT
)USE practice
PREPARE
statement 處理資料SET @s='INSERT INTO ac_basic (email,password,nick,district,affect) VALUES (?,?,?,?,?)';
PREPARE stmt1 FROM @s;
SET @email='hong2@example.com',@pwd='111111',@nick=NULL,@dt=NULL,@af=NULL;
EXECUTE stmt1 USING @email,@pwd,@nick,@dt,@af;
更新日期: