TUniStoredProc - PrepareSQL not work;

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lcdk
Posts: 4
Joined: Sun 24 Nov 2019 22:37

TUniStoredProc - PrepareSQL not work;

Post by lcdk » Tue 05 May 2020 11:38

Why my code don`t work

Proc := TUniStoredProc.Create(nil);
Proc.Connection := TUniConnection;
Proc.StoredProcName :='GenerateMark';
Proc.PrepareSQL;
//Proc.Prepare;
Proc.ParamByName('id_warbo').AsInteger := 0; <- here is stop field not exists

Stellar
Devart Team
Posts: 359
Joined: Tue 03 Oct 2017 11:00

Re: TUniStoredProc - PrepareSQL not work;

Post by Stellar » Tue 12 May 2020 08:18

In order to investigate the issue, we need a need script that creates the stored procedure where the issue occurs. Please also specify your database system and version.

Post Reply