Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote view using IN clause with parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00910870
Message ID:
00910885
Vues:
20
How about trying...
Test = "'191','193'"

"Select * from Table1 where office IN("+Test+")"
>Hi. I am trying to use a parameter in a IN clause with SQL Server backend. The returned cursor is always empty. I tried to populate the^parameter with :
>
>Test = '191','193'
>Test = "'191','193'"
>Test = ("'191','193'")
>
>Nothing is working.
>
>There is the SQL
>
>"Select * from Table1 where office IN (?Test)"
>
>Any idea ?
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform