塬 塬上独狼 Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-02 #1 id a b c 123把a 列和b列的数据相加,结果存入a列中.求代码
C caixuan2006 Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-02 #4 update Table1set a = isnull(a,0)+isnull(b,0)
Z znxia Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-03 #7 SQL Servre:update Table1set a = isnull(a,0)+isnull(b,0) Oracle:update Table1set a = nvl(a,0)+nvl(b,0) 你用的是什么数据库,详细提示内容是什么?
SQL Servre:update Table1set a = isnull(a,0)+isnull(b,0) Oracle:update Table1set a = nvl(a,0)+nvl(b,0) 你用的是什么数据库,详细提示内容是什么?