Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:09:24+00:00 2026-05-24T18:09:24+00:00

Two questions. Is there a way for us to query by substring/contains method or

  • 0

Two questions.

  1. Is there a way for us to query by substring/contains method or like a search style query or even regular expression matching?
    Without making it case sensitive?!!!
    Example.

Query for: Good Food:

Table contains

  1. I like eating Good Food.
  2. Blah blah blah.
  3. Good Food is great.
  4. I like mcdonalds.
  5. Food is Good.

The result of results I would recieve is 1,3 the rest is pretty much useless.


Second Question.

I have a table with

Primary Key      EventId          Message
1                  14             Good Food now
2                  14             Good Food later
3                  14             Good food today
4                  17             scrabble
5                  19             babble
6                  20             squable

I pretty much want the event id that is associated when a message contains good food.
So Rather than retrieving
eventId 3 times.
I just want eventid 1 time with the number 14.
is that possible too?

So in short.

When querying for good food inside a message, can i just get event Id that returns
14
rather than
3 rows of 14?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:09:25+00:00Added an answer on May 24, 2026 at 6:09 pm

    To remove the case sensitivity, you can use ILIKE in some rdbms but as far as i know not in oracle. You can use upper/lower to work around that.

    You can use ‘distinct’ on EventId to solve the last part of your task but be aware that distinct may become expensive. This finding might even lead to rethinking your data model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Two question on Bluetooth development on Android: Is there a way to enable Bluetooth
Two questions, really: Is there a standard/convention regarding the placement on configuration files? For
There are two questions to this: How can I best spread the word about
Actually I have two questions. (1) Is there any reduction in processing power or
basically have two questions. 1. Is there a c++ library that would do full
Two questions: 1) There are several tables that are used as an archive for
There are some related questions about unpacking single-value tuples, but I'd like to know
Okay, these two related questions are in reference to Railscast #21 : I'm having
I have two noobish questions about Flash, Actionscript, Flex etc. 1) With these technologies
This is a somewhat low-level question. In x86 assembly there are two SSE instructions:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.