Fonction CONCAT postgresql
Résolu/Fermé
pcsystemd
Messages postés
702
Date d'inscription
dimanche 27 novembre 2005
Statut
Membre
Dernière intervention
6 novembre 2024
-
1 mars 2022 à 14:03
pcsystemd Messages postés 702 Date d'inscription dimanche 27 novembre 2005 Statut Membre Dernière intervention 6 novembre 2024 - 1 mars 2022 à 15:05
pcsystemd Messages postés 702 Date d'inscription dimanche 27 novembre 2005 Statut Membre Dernière intervention 6 novembre 2024 - 1 mars 2022 à 15:05
Bonjour,
Je souhaiterais connaitre comme faire la requête ci-dessous en utilisant la fonction CONCAT.
Merci
Je souhaiterais connaitre comme faire la requête ci-dessous en utilisant la fonction CONCAT.
select 'update table set gtm='||gtm||',geo_d=point'||geo_d||' where id='||id||' and geo_d is null;' from table where geo_d is not null;
Merci
A voir également:
- Fonction CONCAT postgresql
- Concat pdf - Télécharger - PDF
- Concat mp3 - Télécharger - Audio & Musique
- Excel concat retour à la ligne ✓ - Forum Excel
- Inverse de concat excel ✓ - Forum Excel
- Concat sql - Forum MySQL
2 réponses
yg_be
Messages postés
23492
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
23 mars 2025
Ambassadeur
1 570
1 mars 2022 à 14:17
1 mars 2022 à 14:17
bonjour,
peut-être:
peut-être:
select concat ( 'update table set gtm=', gtm, ',geo_d=point', geo_d, ' where id=', id, ' and geo_d is null;') from table where geo_d is not null;
pcsystemd
Messages postés
702
Date d'inscription
dimanche 27 novembre 2005
Statut
Membre
Dernière intervention
6 novembre 2024
23
1 mars 2022 à 15:05
1 mars 2022 à 15:05
Ah merci! Parfois je cherche le compliqué la ou c'est simple!