T0.[U_compcode] + 1 (I guess this need to changed CAST(T0.U_compcode as INT) + 1, i felt ur field is defined as varchar)
T0.[U_compcode] Like '@FirstFour%%'
You are confused SQL server, what;s the type of this U_compcode field? Varchar or INT?
Frank
T0.[U_compcode] + 1 (I guess this need to changed CAST(T0.U_compcode as INT) + 1, i felt ur field is defined as varchar)
T0.[U_compcode] Like '@FirstFour%%'
You are confused SQL server, what;s the type of this U_compcode field? Varchar or INT?
Frank