Einzelnen Beitrag anzeigen

Benutzerbild von Jelly
Jelly

Registriert seit: 11. Apr 2003
Ort: Moestroff (Luxemburg)
3.741 Beiträge
 
Delphi 2007 Professional
 
#17

Re: "Now" in Datenbank speichern

  Alt 28. Sep 2007, 15:27
Zitat von Tommy1988:
Delphi-Quellcode:
q_IP := 'INSERT INTO IP (ip, zeit) VALUES ('
+ QuotedStr(sEdit1.Text),
  QuotedStr(FormatDateTime('hh:mm:ss', now)) + ')';
Das funktioniert so leider nicht.
Du hast schon eine Spalte ip und eine Spalte zeit in deiner Tabelle IP
  Mit Zitat antworten Zitat