Performing a Word Search in SQL

Performing a Word Search in SQL

Question:
How do I perform a word search in SQL? I want to find all rows containing the word “time” by itself and not any rows containing “time” as part of another word.

Answer:
This may get you started:

select memos from mytable where memos like ' time ' 

This will get the standalone occurrences of “time”.

If you want the embedded ones too, try using this:

'%time%'

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular