Is your column deptCode string (varchar, nvarchar ...) type?. LIKE operator should be used only for string values.
ManicCW
Junior Poster in Training
95 posts since Nov 2005
Reputation Points: 13
Solved Threads: 11
Yes that is right, I did not see that she put variable inside SELECT quotes. :)
ManicCW
Junior Poster in Training
95 posts since Nov 2005
Reputation Points: 13
Solved Threads: 11