Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: So 25.09.05 16:29 
Hi, ich baue z. Laufzeit mein SELECT Statement zusammen, einmal bekomme ich einen Fehler angezeigt ein ander mal
läuft alles reibungslos ab!

Und wird eine Fehlermeldung angezeigt:

"You have an Error in your SQL Syntax near '3, 3, 'ejk', 4, 'hej', NULL, NULL, NULL

wie ich in der Delphi Hilfe nachgelesen habe darf ein Parameter nicht NULL sein,
also habe ich wo NULL Werte sind IS NULL anstatt = NULL abgefragt das soll ao richtig sein
ich habe auch alle Parameter überprüft davon ist keiner NULL!

Wie könnte ich mir das ganze SELECT Statement incl. der ParameterWerte anzeigen lassen?
ripper8472
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 114

Win2k (und wenn ich nen Zweitrechner haette, auch eine Linux Distri)

BeitragVerfasst: So 25.09.05 22:22 
siehst du die zwei 3en in deinem query?
die sind falsch. das sagt jedenfalls die fehlermeldung.
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Mo 26.09.05 08:01 
Vielen Dank! Ich habe wohl an Falscher Stelle den Fehler vermuttet! Der war nicht in dem Select Statement sondern
erst später in dem Insert Statement!