Invalid Request BLR
Posted: 06.12.2008, 18:15
Hi,
I executed this script with TZSQProcessor and had the message below :
Message : Invalid Request BLR at offset 300 bad parameter number
PS : Zeos 664, Firebird 2.0.1, Delphi 7 E
An idea ?? Thanks.
I executed this script with TZSQProcessor and had the message below :
Code: Select all
SET TERM ^ ;
CREATE PROCEDURE GET_CREDIT_BY_STRUCT (
cr_idstruct smallint,
cr_chap char(5),
cr_art char(2),
cr_par char(2),
cr_aln char(2),
cr_date date)
returns (
tot_bp decimal(15,2),
tot_bs decimal(15,2),
tot_br decimal(15,2),
tot_vir_d decimal(15,2),
tot_vir_e decimal(15,2))
as
begin
/* BP */
select sum(dotation) from bud_p
where chap=:cr_Chap and Art=:cr_Art and par=:cr_Par and aln=:cr_Aln and
id_struct=:cr_Idstruct and date_bp <=:cr_date
into tot_bp;
/* BS */
select sum(dotation) from bud_s
where chap=:cr_Chap and Art=:cr_Art and par=:cr_Par and aln=:cr_Aln and
id_struct=:cr_Idstruct and date_bs<=:cr_date
into tot_bs;
/* BR */
select sum(dotation) from bud_R
where chap=:cr_Chap and Art=:cr_Art and par=:cr_Par and aln=:cr_Aln and
id_struct=:cr_Idstruct and date_br<=:cr_date
into tot_bR;
/* VIR D */
select sum(MONTANT) from virement
where Sens='D' and chap=:cr_Chap and Art=:cr_Art and par=:cr_Par and
aln=:cr_Aln and id_struct=:cr_Idstruct and date_vir<=:cr_date
into tot_vir_D;
/* VIR E */
select sum(MONTANT) from virement
where Sens='E' and chap=:cr_Chap and Art=:cr_Art and par=:cr_Par and
aln=:cr_Aln and id_struct=:cr_Idstruct and date_vir<=:cr_date
into tot_vir_E;
suspend;
end^
SET TERM ; ^
Message : Invalid Request BLR at offset 300 bad parameter number
PS : Zeos 664, Firebird 2.0.1, Delphi 7 E
An idea ?? Thanks.