I am using sql6.5
Can I use a Variable such as @NAME inside of a PATINDEX statement in a SPROC? For example something like below:
@NAME varchar(30)
SELECT EXAMINER_ID
FROM USER_GROUP
WHERE PATINDEX('%@NAME%',EXAMINER_ID) > 0
If so do I need the single quotes or the percentage signs?
Kevin-
Thanks For your continued Help.
Thanks For your continued Help.