フィルターのクリア

DB Explorer Browser geht nicht

1 回表示 (過去 30 日間)
Gernot Reichl
Gernot Reichl 2017 年 7 月 25 日
コメント済み: Jan 2017 年 7 月 27 日
Sehr geehrtes Matlab-Team!
Ich habe ein Problem mit dem Database Explorer. Ich kann auf eine Oracle-Datenbank nicht mehr mit dem Database Explorer zugreifen. Die Test-Verbindung ist erfolgreich. Sobald ich jedoch mit DB Explorer in der DB "browsen" will und ich die Verbindung aufbauen möchte, kommt folgende Fehlermeldung:
Die Verbindung hat bereits funktioniert. Der DB-Treiber ist korrekt installiert.
Können Sie mir bitte weiterhelfen?
DANKE und noch einen schönen Tag!
grüße
Gernot Reichl
  1 件のコメント
Jan
Jan 2017 年 7 月 25 日
@Gernot: Die Chancen für eine Antwort steigen, wenn Du die Frage in Englisch stellst, denn die meisten Leser sprechen kein Deutsch.

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2017 年 7 月 25 日
This problem is explained by Oracle https://www.oraexcel.com/oracle-11gR2-ORA-01424/lang-de:
Fehlercode: ORA-01424
Beschreibung: Zeichen nach dem Escape-Zeichen fehlen oder sind ungültig
Ursache: The character following the escape character in LIKE pattern is missing
or not one of the escape character, '%', or '_'.
Handlung: Remove the escape character or specify the missing character.
Well, not really useful, because you cannot specify, where this bad character appears. What did you chance the last time the data base was in use? Can you restore it from a backup?
Perhaps you have an & in a symbol, see http://martinpreiss.blogspot.de/2011/04/escape-ampersand-in-like-bedinungen.html. If the DB Browser does not escape the &, requesting the variables will cause this message.
  2 件のコメント
Jan
Jan 2017 年 7 月 27 日
[MOVED from section for answers] Gernot Reichl wrote:
Thank you for your answer. I've read the Oracle-Explanation already.
The strange thing is, that the coded db-Connection in a script works. Also SQL-Statements...
Jan
Jan 2017 年 7 月 27 日
@Gernot: Please post comments in the section for comments. Thanks.
The DB-connection and SQL statements can work successfully, if only the escaping was implemented poorly in the Database Explorer. Try to find out, if one of the names contains a character, which must be escaped before it can be displayed. If you have found it, send an enhancement request to MathWorks to improve the DB explorer.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMPSK についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by