2 个解决方案
#1
有具体的语句吗?
#2
具体语句如下:
UPDATE S200502
SET dishi = number
FROM phoneupdate
WHERE s200502.dishi = phoneupdate.oldphone
其中:
S200502表:
zj bj startdate starttime enddate endtime jfsc dishi
13598053054 12581307 20050201 22:14:18 20050201 22:14:53 35 2
phoneupdate表结构如下:
number cityname phoneno oldphone
1 省公司 000 19
UPDATE S200502
SET dishi = number
FROM phoneupdate
WHERE s200502.dishi = phoneupdate.oldphone
其中:
S200502表:
zj bj startdate starttime enddate endtime jfsc dishi
13598053054 12581307 20050201 22:14:18 20050201 22:14:53 35 2
phoneupdate表结构如下:
number cityname phoneno oldphone
1 省公司 000 19
#1
有具体的语句吗?
#2
具体语句如下:
UPDATE S200502
SET dishi = number
FROM phoneupdate
WHERE s200502.dishi = phoneupdate.oldphone
其中:
S200502表:
zj bj startdate starttime enddate endtime jfsc dishi
13598053054 12581307 20050201 22:14:18 20050201 22:14:53 35 2
phoneupdate表结构如下:
number cityname phoneno oldphone
1 省公司 000 19
UPDATE S200502
SET dishi = number
FROM phoneupdate
WHERE s200502.dishi = phoneupdate.oldphone
其中:
S200502表:
zj bj startdate starttime enddate endtime jfsc dishi
13598053054 12581307 20050201 22:14:18 20050201 22:14:53 35 2
phoneupdate表结构如下:
number cityname phoneno oldphone
1 省公司 000 19