Hi,
Wenn kein Eintrag vorhanden ist, liefert max(position) allerdings NULL (auch wenn NOT NULL für position festgelegt ist)
und NULL + 1 bleibt NULLDie Frage ist jetzt wie ich daraus 1 machen kann...
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]