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: Fr 22.07.05 06:01 
Hi, sagt mal müßen Leerzeichen auch rein wenn ich bei einer Query.SQL.Add(..) ?

Also so?
ausblenden Delphi-Quelltext
1:
2:
3:
Query.SQL.Add(' ORDER BY ');
Query.SQL.Add(Feld[j]);
Query.SQL.Add(' '+UPDOWN[j]);


oder brauchen da keine Leerzeichen rein?
KidPaddle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 351

WinXP,Linux
D7 Prof, XE7
BeitragVerfasst: Fr 22.07.05 07:45 
Nein, das geht auch ohne. Beim Auslesen des SQL - String wird nach jeder Zeile automatisch ein CR/LF eingefügt.

Gruß
Thomas
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Fr 22.07.05 08:11 
user profile iconKidPaddle hat folgendes geschrieben:
Nein, das geht auch ohne. Beim Auslesen des SQL - String wird nach jeder Zeile automatisch ein CR/LF eingefügt.

Gruß
Thomas


Vielen Dank für die Info!