Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 23 Apr 2009 at 9:11am
Like usually has parentheses. If the parameter is a single value, use =, if there are multiple values separated by commas may not work as the parameter is really not formatted for a like.
You might want to use whatever is similar to CHARINDEX...namely is the id in the parameter (make sure that you check for uniqueness)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum