I have created a stored procedure as follow:
Create Procedure sp_ADD_USER_EXTRANET_CLIENT_INDEX_PHY ( @ParLngId int output ) as Begin SET @ParLngId = (Select
Instead of writing:
Select top 1 ParLngId from T_Param where ParStrNom = 'Extranet Client'
Write:
Select top 1 ParLngId from T_Param where ParStrNom IN 'Extranet Client'
i.e. replace '=' sign by 'IN'
'='
'IN'