probably been asked before but I couldn't find an answer.
Is it possible to specify a user defined variable in a mySQL query. Such as:
select * from table where column like "%MYVAR%" or column like "%MYVAR%"
Basically, it would be a bit more complicated than that but if I wanted to use the same text multiple times how could I set this and reuse it?
Many thanks.
user defined variable?