left()函数只能截取左边几位字符,截取中间字符用SUBSTR()

SUBSTR(cExpression, nStartPosition [, nCharactersReturned])

dbf

update dbf1 set Field1=left(Field1,8)    


foxpro
PROVIDER=MSDASQL;DRIVER={Microsoft Visual Foxpro Driver};SourceDB=%S;SourceType=DBF

不识别varchar,只有char


Provider=VFPOLEDB.1;
识别varchar类型
posted on 2015-07-14 14:19  lypzxy  阅读(1646)  评论(0编辑  收藏  举报