• Hello,

    Is InsPolicyVal a Scalar or Table function? If it’s Scalar then you should be able to use it as in your example. If it is a Table function then you would probably want to include it in a Join.

    Regards,

    John Marsh

    www.sql.lu
    SQL Server Luxembourg User Group