DBTABLE('Select * From @Code@ Order By stockdate');
BB:DBVALUE('buy_vol');
上面这个没问题
----------------------------------
d:date;
pred:REF(date,1);
DBTABLE('Select * From @Code@ where 这里怎么加条件 Order By stockdate');
BB:DBVALUE('buy_vol');
(条件内容:btime>d and btime<pred)