This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
为什么这不起作用?
DELIMITER ;//
CREATE PROCEDURE `blah`
(
SearchText varchar(4000)
)
BEGIN
SELECT *
FROM table_name
WHERE table_name.StringField LIKE '%' + SearchText + '%'; -- This is where the code is breaking
END;//