FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
Identitiy Fields problems with PostgreSQL
Identitiy Fields problems with PostgreSQL
Iniciado por Antonio Díaz, 02,feb. 2024 21:09 - 2 respuestas
Conéctese…
Antonio Díaz
#1
Miembro registrado
71 mensajes
Popularité : +2 (2 votes)
Publicado el 02,febrero 2024 - 21:09
Hi, I am not an experienced windev user (yet). I have a postgresql db. When adding a record through a form, the identity field is not being incremented, so I get the duplicate error (identity field value is 0, the first add was ok since 0 value didn't exist).
I went to pg admin and typed an INSERT statement and the field was incremented without issues. Is there something I should consider in the analysis that I might be missing? I thank you in advance.
--
Antonio Diaz
Emphasys Software, S.C.
Informar
0
0
Jacky
#2
Publicado el 06,febrero 2024 - 11:15
Bonjour .
la colonne doit être de type bigserial NOT NULL UNIQUE
Postrges créera la séquence et la contrainte PK
Informar
0
0
Antonio Díaz
#3
Miembro registrado
71 mensajes
Popularité : +2 (2 votes)
Publicado el 07,febrero 2024 - 03:51
Thank you, I will try that...
--
Antonio Diaz
Emphasys Software, S.C.
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto