update [revenue] SET revenue_money=(select revenue_money from [revenue] where revenue_date=#2008-4-8#)+3.55 where revenue_date=#2008-4-8#
我想执行这条更新后,原数值加3.55
但我这样写执行后不对,ACCESS提示
update [revenue] SET revenue_money=(select revenue_money from [revenue] where revenue_date=#2008-4-8#)+3.55 where revenue_date=#2008-4-8#
我想执行这条更新后,原数值加3.55
但我这样写执行后不对,ACCESS提示
update [revenue] SET revenue_money=revenue_money+3.55 where revenue_date=#2008-4-8#
你只需要在后面设置条件就可以,系统会根据条件找到原来的值进行更新