L
ludao
Unregistered / Unconfirmed
GUEST, unregistred user!
语句:Select * from Table
where A=:V_A and B:=V_B and C:=V_C and D:=V_D
四个条件,自由组合,至少有一个条件,最多不限
要求MIDAS结构实现,客户端不能任何有SQL语句,通过参数传递,
中间层用一个数据集和提供者来实现查询
如:Client:V_A,V_D
Server:Select * from Table where A=:V_A and D:=V_D
Client:V_B,V_D
Server:Select * from Table where B=:V_B and D:=V_D
Client:V_B,V_C
Server:Select * from Table where C=:V_B and C:=C
请高手执教
where A=:V_A and B:=V_B and C:=V_C and D:=V_D
四个条件,自由组合,至少有一个条件,最多不限
要求MIDAS结构实现,客户端不能任何有SQL语句,通过参数传递,
中间层用一个数据集和提供者来实现查询
如:Client:V_A,V_D
Server:Select * from Table where A=:V_A and D:=V_D
Client:V_B,V_D
Server:Select * from Table where B=:V_B and D:=V_D
Client:V_B,V_C
Server:Select * from Table where C=:V_B and C:=C
请高手执教