thanks a_white.
My mistake .
The main error was with bindValue. Your example and QT example how to call procedure works fine. This example correct to...
procedure.prepare("call shemename.packagename.procedurename(:0,:1)");
procedure.bindValue(0, "parameter1");
procedure.bindValue(1, "parameter2");
if (!procedure.exec())
QMessageBox::information(this,tr
("error"),tr
("%1").
arg(procedure.
lastError().
databaseText()));
QSqlQuery procedure(DB);
procedure.prepare("call shemename.packagename.procedurename(:0,:1)");
procedure.bindValue(0, "parameter1");
procedure.bindValue(1, "parameter2");
if (!procedure.exec())
QMessageBox::information(this,tr("error"),tr("%1").arg(procedure.lastError().databaseText()));
To copy to clipboard, switch view to plain text mode
Bookmarks