Skip to content Skip to sidebar Skip to footer

Microsoft Sql Error In String For Wrong Syntax

First time posting on here. Please can someone help me with this very simple error that I cannot seem to fix. if @DivResult > 0 and @IfMenu = ('A','F') There is a syntax error

Solution 1:

This is not valid tsql syntax: and @IfMenu = ('A','F')

The correct would be: and @IfMenu in ('A','F')

Post a Comment for "Microsoft Sql Error In String For Wrong Syntax"