Le 9/04/24 à 15:11, Pierre-François Philippe a écrit :
max = 1010

Le 09.04.24 à 14:55, Dany De Bontridder via noalyss-generale a écrit :
select max(pm_id) from profile_menu;


Donc voilà , pour une raison à éclaircir , le id automatique ne correspond plus à la table, du coup .


Faire


alter sequence profile_menu_pm_id_seq restart 1020;


Vérifions

select nextval('profile_menu_pm_id_seq')


Cela fonctionnera


D.


--
@[email protected]
gpg key 0x6259f36e

Alchimerys srl http://www.alchimerys.be
Noalyss , serveur de comptabilité libre ,https://www.noalyss.eu
BEGIN:VCARD
VERSION:4.0
N:De Bontridder;Dany ;;;
URL;TYPE=work:https://www.noalyss.eu
EMAIL;PREF=1:[email protected]
NOTE:@[email protected]
URL;TYPE=work:http://www.alchimerys.be
END:VCARD
---
NOALYSS est un Serveur de Comptabilité et de Gestion libre

NOALYSS is an ERP Server opensource focused on accountancy

Gérer votre abonnement 
https://lists.nongnu.org/mailman/listinfo/noalyss-generale

Reply via email to