Tagged: quotes
- AuthorPosts
- September 30, 2021 at 8:01 pm #27837ArthurZParticipant
Hello, consider the following snippet created
select * from information_schema.columns where column_name like '%$0'%
I submit the input on tab and it is not places where expected
select * from information_schema.columns where column_name like '%%test'
October 3, 2021 at 2:18 am #27840WernerParticipantselect * from information_schema.columns where column_name like '%\$0'%
you must protect the dollar sign \$ as it is used as a placeholder.
select * from information_schema.columns where column_name like '%${1:variable}'%
October 3, 2021 at 4:48 pm #27842ArthurZParticipantHi Werner, thanks but
It doesn’t work as advertised:
In the former case I get'%$0'%
so the $0 has not been even actioned (remains in there not to be substituted), and
In the latter case you get
like '%variable'%
note the quote before the % sign.October 30, 2021 at 9:39 am #27873Yutaka EmuraKeymasterI am not sure if I understand your question. Can you please simplify your question, and include your expected result? Please write a step-by-step procedure to reproduce the issue. Thank you.
- AuthorPosts
- You must be logged in to reply to this topic.