触发器问题 我有一个a表要将a表的一个字段更新后 通过查询一个视图(包含a,b,c表),将a表修改的数据从视图中查出,并将视图中得部分字段取出插入final表 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 create trigger tr_name on afor updatebegin if update(字段) insert into final select 部分字段 from 视图 a,inserted b where a.xx=b.xxend 用ORACLE的语法,实现1楼的伪代码就行了. create or replace trigger tr_name on afor updatebegin if update(字段) insert into final select 部分字段 from 视图 a,inserted b where a.xx=b.xxend SQL 语句求指教 sql分页语句。 数据查询,完全相同数据只提取其中一条,用什么语句?!在线等,谢谢! 为不影响数据检索速度,一个库应该不超过多少张表,一张表应该不超过多少条记录,请各位提出建议,谢谢! 无效资料行名称 问个入门的问题 请帮忙解决sql的问题 -给100分 关于多表删除的问题 安全性问题! ?????? 关于在asp中用存储过程操作数据库遇到的问题,很急!!! 关于函数的一个问题。
for update
begin
if update(字段)
insert into final
select 部分字段 from 视图 a,inserted b where a.xx=b.xx
end
for update
begin
if update(字段)
insert into final
select 部分字段 from 视图 a,inserted b where a.xx=b.xx
end