Bonjour,
Lorsque je fais ceci :
Cela ne fonctionne pas mais lorsque je fais ceci :Citation:
Declare @pslstAGENCE As VarChar(255)
Set @pslstAGENCE = '001,002'
select * from [scandium_].auth.dbo.agence where id in (@pslstAGENCE)
OUCitation:
select * from [scandium_].auth.dbo.agence where id in (001,002)
Ca fonctionne et pourtant c'est exactement la même chose non?Citation:
select * from [scandium_].auth.dbo.agence where id in ('001','002')
Le champ ID est de type varchar(5)
Merci d'éclaire ma petite lanterne :)
Portekoi