当前位置: 技术问答>java相关
紧急求救:jsp对Oracle数据库中long 型数据进行模糊查询 如何查?
来源: 互联网 发布时间:2015-06-23
本文导语: 不同与varchar .要对long 型进行如like 之类的模糊查询,如何查 | try: long lVar = 100 ; String sStr ="select * from tablename where longVar>"+lVar ; or String sStr ="select * from tablename where longVar
不同与varchar .要对long 型进行如like 之类的模糊查询,如何查
|
try:
long lVar = 100 ;
String sStr ="select * from tablename where longVar>"+lVar ;
or
String sStr ="select * from tablename where longVar
long lVar = 100 ;
String sStr ="select * from tablename where longVar>"+lVar ;
or
String sStr ="select * from tablename where longVar