求助!!!查询命令
foxpro吧
全部回复
仅看楼主
level 1
xizi_yue 楼主
货物编码1116111112001116121116
13111614111
514要求找出编码的第4位为6的,该怎么让他显示出来,先谢谢各位了
2008年08月09日 07点08分 1
level 3
查询命令请参考当货物编码是字符select 货物编码 where substr(货物编码,4,1)='6'当货物编码是数字select 货物编码 where substr(alltrim(str(货物编码)),4,1)='6'显示的简单问题只能自己解决, 因为你没讲有关细节.
2008年08月14日 05点08分 2
level 0
货物编码是字符 select 货物编码 where substr(货物编码,4,1)='6' 当货物编码是数字 select 货物编码 where substr(alltrim(str(货物编码)),4,1)='6' 显示的简单问题只能自己解决, 因为你没讲有关细节.
2008年08月29日 08点08分 3
level 0
select * from 表名 where substr(货物编码,4,1)="6"
2008年10月19日 14点10分 4
1