for a in (select * from mytablen but where x = 1)
loop
insert into myothertable (a, b, c, d) values (a.AA, a.BB, a.CC,a.DD)
end loop;
如何在sql server中对其进行编码。 sql server代理管理工作室快递不工作。 In SQL Server Management Studio 2014, the New Trigger menu option is disabled 触发按钮被禁用... 工作创造不工作....
:((
I'm really sorry but
I'm like a donkey riding up and down from the horse
答案 0 :(得分:1)
你的问题令人困惑,但这就是你想要的......我想。
INSERT myothertable (a, b, c, d)
SELECT a.AA, a.BB, a.CC, a.DD FROM mytablen WHERE x = 1