Ver Mensaje Individual
  #1  
Antiguo 27-06-2003
Markoz Markoz is offline
Miembro
 
Registrado: jun 2003
Ubicación: Los Mochis, Sinaloa, Mexico
Posts: 28
Reputación: 0
Markoz Va por buen camino
Problema Con Ppoc. Alm.

Al llamar dicho prodecedimiento almacenado desde Delphi

TTmpVentas.close;
TTmpVentas.SelectSQL.Clear;
TTmpVentas.SelectSQL.add('Select * from ALCARRITO');
TTmpVentas.Prepare;
TTmpVentas.Open;

El sig, procedimiento almacenado

CREATE PROCEDURE ALCARRITO
AS
begin
INSERT INTO HISTVENTAS SELECT * FROM TMPVENTAS;
end

me envia el siguiente error

Project SDerre.exe raised exception class EIBInterbaseError with message
'Dynamic SQL Error
SQL Error code = -84
Procedure ALCARRITO does not return any values'


Muchas gracias, me han ayudado mucho a entrarle a Interbase
__________________
In Code I Trust
www.geekmx.com
http://markitoz/blogspot.com
Responder Con Cita