如何能更快速的两表多字段匹配替换
本人是新手,表数据量较大,下面语句运行速度较慢,求助大神帮助优化,谢谢!SELECT 1
USE 流水1 SHARED
SELECT 2
USE 流水2 SHARED
GOTO TOP
DO WHILE EOF()=.f.
SELECT 1
LOCATE FOR date=b->date AND id=b->id
IF !EOF()
REPLACE stk WITH b->stk fect WITH b->fect
ENDIF
SELECT 2
SKIP +1
ENDDO