Jump to Content
Jump to Navigation

Hangin’ out with SQL*Plus

As I was messing around with Oracle at work this week, I contemplated the “like” syntax. I’ve used it a fair amount (mostly when I’m lazy and don’t feel like typing everything out).

Brief explanation for the SQL illiterate: you can use % as a wildcard in a query, so

SELECT * from thesaurus_terms where term like ‘C%’;

will match all the words starting with C.

But come on: it’s just such a relaxed way of getting data. “Give me all the data that, like, starts with C. Or something. Whenever’s good for you.”



Leave me your comments

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> <abbr title=""></abbr> <dfn title=""></dfn> <q></q>
<blockquote cite=""></blockquote> <cite></cite> <code></code> <kbd></kbd> <strong></strong> <em></em>

  • Your mature and responsible replies are greatly appreciated by all. Thank you.
Enter Your Comments: