Pb mettre a 0 une clé primaire auto-incremente
Résolu/Fermé
damenounou
Messages postés
7
Date d'inscription
mercredi 21 mars 2018
Statut
Membre
Dernière intervention
22 mars 2018
-
21 mars 2018 à 09:45
damenounou Messages postés 7 Date d'inscription mercredi 21 mars 2018 Statut Membre Dernière intervention 22 mars 2018 - 21 mars 2018 à 16:29
damenounou Messages postés 7 Date d'inscription mercredi 21 mars 2018 Statut Membre Dernière intervention 22 mars 2018 - 21 mars 2018 à 16:29
A voir également:
- Postgresql auto increment
- Auto click - Télécharger - Divers Utilitaires
- Auto keyboard - Télécharger - Divers Utilitaires
- Logiciel auto-entrepreneur gratuit télécharger - Télécharger - Comptabilité & Facturation
- Auto refresh - Télécharger - Divers Web & Internet
- Obd auto doctor - Télécharger - Vie quotidienne
1 réponse
jordane45
Messages postés
38112
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
29 mars 2024
4 634
21 mars 2018 à 14:59
21 mars 2018 à 14:59
Bonjour,
Une clé primaire (il me semble dans n'importe quel SGBD...) ne PEUT PAS être à 0.
Au minimum... il commence à 1.
Une clé primaire (il me semble dans n'importe quel SGBD...) ne PEUT PAS être à 0.
Au minimum... il commence à 1.
21 mars 2018 à 15:01
21 mars 2018 à 16:29
Voici la requête finale :
ALTER SEQUENCE "CADASTRE"."PROPRIETAIRE_Id_proprietaire_seq" RESTART WITH 1