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: Sa 23.04.05 07:42 
Hallo, ich will dass in einer Datenbank ein Schlüssel (Zähler) hochzählt.
Ist das vom Datenbankformat abhängig oder wie veranlasse ich das Zählen?
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Sa 23.04.05 17:05 
Normalerweise, indem du deinem Primarykey die Option Auto_increment gibst. Diese Option heißt allerdings bei jedem Datenbanktyp anders. Ob es bei jeder DB funktioniert weis ich leider nicht, ich bin bis jetzt allerdings auf keine gestoßen, bei der es diese oder eine ähnliche Option nicht gegeben hätte.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?