Add a custom row to a select result set

  • Hi,

    I have this simple select statement

    Select Distinct EPSReferralKPIs.dbStaffLastName

    From EPSReferralKPIs

    Is it possible to add another row onto this result set which is simply dbStaffLastName = 'No Ref - Staff'?

    thanks,

  • Select Distinct EPSReferralKPIs.dbStaffLastName

    From EPSReferralKPIs

    UNION ALL

    SELECT 'No Ref - Staff'

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

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