只需一步,快速开始
Inserting Using Bind Variables: Example The following example returns the values of the inserted rows into output bind variables :bnd1 and :bnd2. The bind variables must first be declared.
bnd1
bnd2
INSERT INTO employees (employee_id, last_name, email, hire_date, job_id, salary) VALUES (employees_seq.nextval, 'Doe', 'john.doe@example.com', SYSDATE, 'SH_CLERK', 2400) RETURNING salary*12, job_id INTO :bnd1, :bnd2;
使用道具 举报
本版积分规则 发表回复
|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )
GMT+8, 2024-11-25 05:21 , Processed in 0.105019 second(s), 21 queries .
重庆思庄学习中心论坛-重庆思庄科技有限公司论坛
© 2001-2020