Bonjour,
Lorsque je fais ceci :
Cela ne fonctionne pas mais lorsque je fais ceci :Declare @pslstAGENCE As VarChar(255)
Set @pslstAGENCE = '001,002'
select * from [scandium_].auth.dbo.agence where id in (@pslstAGENCE)
OUselect * from [scandium_].auth.dbo.agence where id in (001,002)
Ca fonctionne et pourtant c'est exactement la même chose non?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
Partager