hi,
newbie here.
Within a stored procedure is there any way to use a wildcard to compare a integer input parameter to a data type int field in the tables?
extract:
@DriverID int
WHERE
(DRIVER_ID =
CASE WHEN (@DriverID IS NULL) THEN '%'
WHEN (@DriverID NOT LIKE ' ') THEN '%'
ELSE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.