我有一个(简化的) Oracle SQL,如下所示: xd number; DataOut sys_refcursor; xd := to_numberOracleCommand c = new OracleCommand();c.CommandText = SQL;
// or use OracleDataAdapter
Dat
diao=611 and venta.TipoVta='Contado'select SUM(DP.Importe + DP.Iva) from pedidosliberados PLinner join detallepedidoliberado DP on PL.PEDIDO=DP.PEDIDO and PL.RUTA=DP.RUTA and PL.IDEMPRESA=DP.idempresawhere PL.cancelada=0 and P