This question is locked. New answers and comments are not allowed.
I have a simple question, I hope....
How do you execute a wildcard search on a numeric field such as an integer?
SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
ClaimId is an INTEGER
--
Error -
Original Query: SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Telerik.OpenAccess.Exceptions.QueryException: line 1:65: unexpected char: '%'
Original Query: SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
Source Error:
Stack Trace:
How do you execute a wildcard search on a numeric field such as an integer?
SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
ClaimId is an INTEGER
--
Error -
Original Query: SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Telerik.OpenAccess.Exceptions.QueryException: line 1:65: unexpected char: '%'
Original Query: SELECT emp FROM ClaimGridViewExtent as emp WHERE (ClaimID like %22%)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|