M
morboy
Unregistered / Unconfirmed
GUEST, unregistred user!
一条sql语句,在sqlexplorer下可以通过,用在query里就不行了,majorid类型为c
select * from basinfo where majorid='01'
在query中,这样写,
sql.add('select * from where majorid='''+tempmajor+'''');
跟踪语句是对的,可是查询结果总是空的?
select * from basinfo where majorid='01'
在query中,这样写,
sql.add('select * from where majorid='''+tempmajor+'''');
跟踪语句是对的,可是查询结果总是空的?