请各位大虾指点!!
想要查询某字段的值是“0XXX”的所有记录,用什么方法能行?我的代码如下,但是不行:
connection=sqlopen("dsn=localserver;uid=sa;pwd=manager")
query="select userid,password,pope from usertb where pope like '0"&%&"' "
retcode=sqlexecquery(connection,query)
retcode=sqlretrieve(connection,out()) query="select userid,password,pope from usertb where pope like '0%' " 真是太谢谢了!!
页:
[1]