[此贴子已经被作者于2007-6-15 8:19:37编辑过]
select * from temp_table where (arg1 = :as_arg1 or :as_arg1 = '%') and (arg2 =:as_arg2 or as_arg2 ='%') ..................................当不输入时候设置值为%