我又一个数组:array[0] = 张三
array[1]= 李四
array[2] = 王二麻子我想去数据库检索,select * from table1 where name ='' 只想把名字在我的数组中的数据检索出来。我该如何写?谢谢! 简单问题
array[1]= 李四
array[2] = 王二麻子我想去数据库检索,select * from table1 where name ='' 只想把名字在我的数组中的数据检索出来。我该如何写?谢谢! 简单问题
select * into 变量 from table1 where name =array。next
select * into 变量 from table1 where name = array。next
定义个变量 ss
for 循环数组
ss := ss||‘,’||array。next
select * from table1 where name in(ss)