2009-09-01 9 views
0

Salutations,Exécution d'un script SQL avec Oracle Application Express

Je suis en train d'exécuter un script SQL téléchargé en utilisant Application Express (APEX), l'interface Web pour SGBD Oracle.

Cependant, en cliquant sur le bouton Exécuter, il ne fait rien, soupçonnant toute erreur javascript, j'ai sorti firebug et il semble y avoir une erreur sur le js.

this.endLine.isPreceding is not a function 
http://localhost:8080/i/editor/codearea.xbl.xml 
Line 2864 

Ce qui a été rapporté par firebug.

Une idée à ce sujet?

Merci d'avance.

-aw

EDIT: la partie js

CodeRange.prototype.setStartBeforeEnd = function() 
{ 
    if (this.endLine.isPreceding(this.startLine) || 
    (this.endLine == this.startLine && this.endCol < this.startCol)) 
    { 
    var l = this.endLine; 
    this.endLine = this.startLine; 
    this.startLine = l; 

    var c = this.endCol; 
    this.endCol = this.startCol; 
    this.startCol = c; 
    } 
    return this; 
}; 
+0

Pourriez-vous publier le script SQL et une partie du javascript vers lequel pointe l'erreur firebug? –

+0

Je ne suis pas sûr si je suis autorisé à poster le sql, mais je pense que cela n'a rien à voir avec le SQL, car il n'a même pas passé la commande Exécuter. J'ai modifié mon message avec le code js. CodeRange.prototype.setStartBeforeEnd = function() { if (this.endLine.isPreceding (this.startLine) || (this.endLine == this.startLine && this.endCol

+0

argh, oublié d'enlever le code du commentaire, des excuses. :( –

Répondre

0

"mais je pense que cela n'a rien à voir avec le SQL"

Vous pouvez tester un autre fichier pour limiter les possibilités.

Je pense qu'il y a probablement un problème avec l'encodage du fichier. Pouvez-vous le modifier dans Application Express?

Questions connexes