This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Bug bei Delete in MySQL-Datenbank

Allgemeine Fragen zur Entwicklung von und mit JVx.

Bug bei Delete in MySQL-Datenbank

Postby tak » Sun Feb 21, 2010 11:13 pm

Bei einem Delete über das RemoteDataBook in Verbindung mit einer MySQL Datenbank (5.0.51a) kommt es ab der Version 0.7 Beta-3 zu einer Exception:

Code: Select all
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm  WHERE CATEGORY_ID = 2' at line 1


Grund hierfür ist das Appenden eines Aliases für die Deletetabelle ab Version 0.7 Beta-3 (DBAccess, 1107).

In MySQL würde die Syntax für ein Delete mit Alias wie folgt lauten:

DELETE [alias] FROM [table] as [alias] where ....

MfG, Tommy
tak
 
Posts: 14
Joined: Tue Oct 20, 2009 9:21 pm

Re: Bug bei Delete in MySQL-Datenbank

Postby Support@SIB » Mon Feb 22, 2010 3:55 pm

Bestätigt.

Den aktuellen Status finden Sie im Support System.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development (DE)