最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

原始表emp與備份表emp_c的同步

原始表emp與備份表emp_c的同步

睿智狂人 2016-01-27 14:25:18
--原始表emp與備份表emp_c的同步 create?or?replace?trigger?bfemp01 after?update?or?delete?or?insert on?emp for?each?row declare begin ?if?updating?then ??update?emp_c?set?emp_sal_?=?:new.emp_sal_,TABLE_STATE_='update',DATA_VERSION=DATA_VERSION+1 ??where?emp_id_?=?:old.emp_id_; ??dbms_output.put_line('更新成功!'); ?end?if; ?if?deleting?then ??delete?from?emp_c?where?emp_id_=?:old.emp_id_; ??dbms_output.put_line('刪除成功!'); ?end?if; ?if?inserting?then ??insert?into?emp_c?values(:new.dept_id_,:new.dept_name_, ??:new.emp_id_,:new.emp_name_,:new.emp_sex_,:new.emp_sal_, ??:new.emp_comm_,:new.emp_posi_,'insert',0); ??dbms_output.put_line('新增成功!'); ?end?if; end; /
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關(guān)注
  • 1590 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號