I have a SQL that get me a count of rows that have a column name = the parameter that i am passing in.
SELECT COUNT(*) FROM Content_T WHERE Name = $[[=] CName]
Some of the values for Name in the database have a prefix attached to them "AUTO_" that i need to ignore. How i modify my SQL to ignore the prefix "AUTO_". Please note that not all the Name columnshave the AUTO_ prefix. If the name column do not have AUTO_ prefix i need do a regular match.
Thanks for hte help