Hello,
I'm using Zeos components (6.0.12) to connect to PostgreSQL DB 7.3.1.
Stored procedure (InsertPlace) doesn't work when called using
Zeos component.
It should return "true" or "false".
Code:
Query1->SQL->Clear();
Query1->Params->Clear();
Query1->SQL->Add("select InsertPlace('Wh atever ;)')");
Query1->Params->CreateParam(ft Boolean, "bPlace", ptOutput);
Query1->ExecSQL();
bResult=Query1->Params->Items[0]->AsBoolean;
Has someone perhaps any idea how to manage it?
greetings
Michal
I'm using Zeos components (6.0.12) to connect to PostgreSQL DB 7.3.1.
Stored procedure (InsertPlace) doesn't work when called using
Zeos component.
It should return "true" or "false".
Code:
Query1->SQL->Clear();
Query1->Params->Clear();
Query1->SQL->Add("select InsertPlace('Wh atever ;)')");
Query1->Params->CreateParam(ft Boolean, "bPlace", ptOutput);
Query1->ExecSQL();
bResult=Query1->Params->Items[0]->AsBoolean;
Has someone perhaps any idea how to manage it?
greetings
Michal
Comment