[PHP \ PLSQL] Erreur ORA
plsql
-
jeangilles Messages postés 816 Date d'inscription Statut Membre Dernière intervention -
jeangilles Messages postés 816 Date d'inscription Statut Membre Dernière intervention -
Bonjour à vous tous,
J'ai une erreur dans un de mes codes :
ORA-01008: toutes les variables ne sont pas liées
Voici mon bout de code correspondant :
Ce que je fais :
J'éxécute une procédure PLSQL Strockée ayant les arguments suivants en paramètres :
Aucun des champs de ma table n'est vide.
J'ai une erreur dans un de mes codes :
ORA-01008: toutes les variables ne sont pas liées
Voici mon bout de code correspondant :
$statement = oci_parse ($connect, "BEGIN TEST(:id, :nom, :prenom, :arrivee, :depart, :fonction, :societe, :service, :lieu, :bureau, :sortant, :demande, :statut); END;"); OCIBindByName($stmt, ":id", &$table[$index]['ID'], -1); OCIBindByName($stmt, ":nom", &$table[$index]['NOM'], -1); OCIBindByName($stmt, ":prenom", &$table[$index]['PRENOM'], -1); OCIBindByName($stmt, ":arrivee", &$table[$index]['ARRIVEE'], -1); OCIBindByName($stmt, ":depart", &$table[$index]['DEPART'], -1); OCIBindByName($stmt, ":fonction", &$table[$index]['FONCTION'], -1); OCIBindByName($stmt, ":societe", &$table[$index]['SOCIETE'], -1); OCIBindByName($stmt, ":service", &$table[$index]['SERVICE'], -1); OCIBindByName($stmt, ":lieu", &$table[$index]['LIEU'], -1); OCIBindByName($stmt, ":bureau", &$table[$index]['BUREAU'], -1); OCIBindByName($stmt, ":sortant", &$table[$index]['SORTANT'], -1); OCIBindByName($stmt, ":demande", &$table[$index]['DATE_DEMANDE'], -1); OCIBindByName($stmt, ":statut", &$table[$index]['STATUT'], -1); oci_execute($statement);
Ce que je fais :
J'éxécute une procédure PLSQL Strockée ayant les arguments suivants en paramètres :
id in number,
nom in varchar2,
prenom in VARCHAR2,
arrive in DATE,
depart in DATE,
fonction in VARCHAR2,
societe in VARCHAR2,
service in VARCHAR2,
lieu in VARCHAR2,
bureau in VARCHAR2,
sortant in CHAR,
demande in DATE ,
statut in CHAR)
Aucun des champs de ma table n'est vide.
A voir également:
- [PHP \ PLSQL] Erreur ORA
- Expert php pinterest - Télécharger - Langages
- Erreur 0x80070643 - Accueil - Windows
- Iptv erreur de lecture - Forum TV & Vidéo
- Erreur 4201 france tv ✓ - Forum Réseaux sociaux
- Erreur 4101 france tv - Forum Lecteurs et supports vidéo