Jump to content

How to specify index in the DB query for the string in a column


Recommended Posts

In my database I have a column which contain location of a file. The column contains entries like -






I want to query this database and check for the values like networkSecurity, hostAgentFeatures etc at the specified index 2.

I tried using REGEXP and LIKE but it does not always returns the correct output. Also my DB doesn't support FULLTEXT indexes

Is there a way to specify index in MySQL ?

Please guide.

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.