![]() |
#2
freele_china2008-05-30 08:00
瞧瞧
|
表1
单位代码
1101
1102
1203
表2
人员代码
110101
110102
110201
120304
当表1在1102记录上时表2返回人员代码前4位为1102的记录
sele 表1
i=表1.代码+'%'
sqlexec(con,select * rom 表2 人员代码 like ?i),为什么没有符合条件的记录?这个变量如何写?