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

  • Home
  • SEARCH
  • 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 5999145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:30:38+00:00 2026-05-23T00:30:38+00:00

I have a pretty simple LIKE search for MySQL that i’d like to transform

  • 0

I have a pretty simple LIKE search for MySQL that i’d like to transform into a fulltext. The problem is i need to be able to implement it so that it starts with X. Like the example below:

SELECT column FROM table WHERE column LIKE "startswith%"

as you can see that query returns all results that begins with “startswith”. I need to do this with a fulltext.

Is this possible to do?

  • 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-23T00:30:39+00:00Added an answer on May 23, 2026 at 12:30 am

    No, that isn’t how fulltext works (it’s actually just a list with loose words underneath, no information about location relative to the string) but there’s no reason why you can’t have that LIKE ... as an extra WHERE clause. FULLTEXT can still help to get a smaller subset of results if you haven’t got another key on column. If you do have a key on column, using FULLTEXT for this is useless.

    You can set a key on just the start of a column with ADD INDEX (column(123)); (which would only index the first 123 characters). THis also works for text/blob columns (in the latter case it’s the binary length you give).

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

Sidebar

Related Questions

Basically I do have pretty simple database that I'd like to index with Lucene.
Pretty simple scenario. I have a web service that receives a byte array that
I have a pretty complicated Linq query that I can't seem to get into
I have been asked to look into FileMaker for creating a pretty simple database
The table's schema is pretty simple. I have a child table that stores a
Pretty simple question this time around. I have an application that communicates with another
This one should be pretty simple. The use case is that I have a
I have a pretty simple problem with a not-so-obvious solution. I have a relational
I have a pretty simple user control that I want to bind a ScaleTransform
We have a simple php file that captures emails. It drops these emails into

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.