F
fhuibo
Unregistered / Unconfirmed
GUEST, unregistred user!
现有表 A 结构如下(SQLSERVER2000数据库):表名称 字段名 类型A005A001 A0503 NUMERICA005A001 A0505 NUMERICA005A001 A0506 NUMERICA005A001 A0507 NUMERICA005A001 A0508 VARCHARA005A001 A0509 VARCHAR怎么根据上边表中的数据(用存储过程)把下边2个字符串A005A001.A0503 := A005A001.A0505+123.56+A005A001.A0506-A005A001.A0507A005A001.A0508 := A005A001.A0508+A005A001.A0509替换为:A005A001.A0503 := ISNULL(A005A001.A0505,0)+123.56+ISNULL(A005A001.A0506,0)-ISNULL(A005A001.A0507,0)A005A001.A0508 := ISNULL(A005A001.A0508,'')+ISNULL(A005A001.A0509,'')