Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.349 Beiträge
 
Delphi 12 Athens
 
#5

AW: Create Table mit Not Null und Auto_Increment

  Alt 25. Aug 2010, 18:32
AUTO_INCREMENT erfordert doch ein Feld mir einem Index als PrimaryKey?
(welches notfalls automatisch eingerichtet wird)

Und PrimaryKey erlaubt keine NULL-Felder.

Also wenn du AUTO_INCREMENT nutzt, dann ist das Feld automatisch NOT NULL.
Ein Therapeut entspricht 1024 Gigapeut.
  Mit Zitat antworten Zitat