Must declase Scaler Variable error on Multiselect parameter when I use IN statement in SP ?

  • Hi

    I am using a multiselect parameter @DiagnosisType

    My sp states ...

    ALTER PROCEDURE [dbo].[..._count]

    @StartDate datetime,

    @EndDate datetime,

    @Costcenter varchar(3),

    @DiagnosisType varchar(100)

    AS

    SELECT .....

    where (dbo.ClinicalType.Code in (@DiagnosisType))

    Thanks

    Joe

    in (@DiagnosisType))

    @DiagnosisType nvarchar(max)

  • Duplicate post. Original thread available here

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply