<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>9 Jul 2019 15:51:10 Z</lastBuildDate><pubDate>8 Jul 2019 16:16:36 Z</pubDate><description>Bonjour à tous, &#13;
&#13;
Un petit problème de requête SQL qui est le suivant : &#13;
J'ai ma requête SQL suivante : &#13;
&#13;
"SELECT * FROM    &#13;
	MaTable&#13;
WHERE&#13;
	Nom IN  ('Paul','Joe','Doe') &#13;
ORDER BY&#13;
	Nom ASC"&#13;
&#13;
Qui se trouve dans un fichier de requête&#13;
Lorsque je l'appelle avec HRequêteExécute, ceci fonctionne correctement et elle me renvoie bien les bons éléments. &#13;
&#13;
Mais lorsque je veux créer mes paramètres dans mon code et l'envoyer dans la requête ceci ne marche plus.&#13;
&#13;
Exemple : &#13;
&#13;
sTableauSQL = "('Paul','Joe','Doe')"&#13;
HExécuteRequête("test",hRequêteDéfaut,sTableauSQL) &#13;
&#13;
Il effectue bien la requête mais lors du HLitPremier, il considère que la requête est vide. &#13;
&#13;
"SELECT * FROM    &#13;
	MaTable&#13;
WHERE&#13;
	Nom IN  { p_TableauDeNom }&#13;
ORDER BY&#13;
	Nom ASC"&#13;
&#13;
Par contre si ma variable est comme ceci : &#13;
&#13;
sTableauSQL = "('Paul')"&#13;
 &#13;
&#13;
Cela fonctionne. &#13;
&#13;
Quelqu'un aurait-il une idée du problème ? &#13;
&#13;
Cordialement,&#13;
&#13;
Jérémy</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp</link><title>[SQL] Where .... IN ('ABC','DEF'.........)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>lionel</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231473/read.awp</comments><pubDate>9 Jul 2019 15:51:10 Z</pubDate><description>On en apprend tous les jours! J'avais du coup laissé tombé les IN() en requête intégrée paramétrée... pour les ré-écrire en SQL&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231473/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231473/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp">[SQL] Where .... IN ('ABC','DEF'.........)</source><title>Re: [SQL] Where .... IN ('ABC','DEF'.........)</title></item><item><author>michel.driant</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231463/read.awp</comments><pubDate>9 Jul 2019 12:08:26 Z</pubDate><description>La doc précise que les valeurs doivent être séparées par ";" TAB ou RC.&#13;
&#13;
Il n'y a bien que HFSQL pour fonctionner comme cela. …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231463/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231463/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp">[SQL] Where .... IN ('ABC','DEF'.........)</source><title>Re: [SQL] Where .... IN ('ABC','DEF'.........)</title></item><item><author>jeremy.dooremont</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231462/read.awp</comments><pubDate>9 Jul 2019 11:08:00 Z</pubDate><description>Cela fonctionne parfaitement !&#13;
Merci beaucoup</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231462/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231462/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp">[SQL] Where .... IN ('ABC','DEF'.........)</source><title>Re: [SQL] Where .... IN ('ABC','DEF'.........)</title></item><item><author>Voroltinquo</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231453/read.awp</comments><pubDate>8 Jul 2019 20:40:27 Z</pubDate><description>Bonjour,&#13;
Ton problème vient des séparateurs. La doc précise que les valeurs doivent être séparées par ";" TAB ou RC.&#13;
Donc ton …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231453/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231453/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp">[SQL] Where .... IN ('ABC','DEF'.........)</source><title>Re: [SQL] Where .... IN ('ABC','DEF'.........)</title></item><item><author>michel.driant</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231452/read.awp</comments><pubDate>8 Jul 2019 19:26:09 Z</pubDate><description>et si vous écrivez ceci ?&#13;
[code:sql]&#13;
SELECT * FROM MaTable&#13;
WHERE Nom IN ('Paul','Joe','Doe')&#13;
ORDER BY Nom ASC"&#13;
[/code]</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231452/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def-231452/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/231447-sql-where-abc-def/read.awp">[SQL] Where .... IN ('ABC','DEF'.........)</source><title>Re: [SQL] Where .... IN ('ABC','DEF'.........)</title></item></channel></rss>
