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 434833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:18:53+00:00 2026-05-12T20:18:53+00:00

Like many web applications (business) the customer wants a form that will search across

  • 0

Like many web applications (business) the customer wants a form that will search across each data field. The form could have 15-20 different fields where the user can select/enter/input to be used in sql (stored procedure).

These are quite typical requests by the user that most every application has to deal with.

The issue really at hand is how to provide the user with this type of interface/option AND establish fast SQL access. The above fields could span 15 different tables and respective sql statements (usually abstracted to a stored procedure) will have as many joins. The data always has to be brought back to a grid type view as well as some report format (often excel).

I/we are finding these sql statements are slow and hard to optimize as the user can enter 1 or 15 different search criteria.

How should this be done? Looking for suggestions/ideas as to how existing large applications deal with these requirements.
Does it really come down to trying to optimize the sql within the stored procedure?

thx

  • 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-12T20:18:53+00:00Added an answer on May 12, 2026 at 8:18 pm

    No, you need to employ a real search engine technology to make fulltext search have good performance. No SQL predicate (e.g. LIKE '%pattern%') is going to be scalable.

    You don’t identify which brand of RDBMS you’re using, but every major brand of RDBMS has their own fulltext search capability:

    • Microsoft SQL Server: Full-Text Search
    • Oracle: Oracle Text (formerly ConText)
    • MySQL: FULLTEXT index (MyISAM only)
    • PostgreSQL: Text-Search data types and index types
    • SQLite: Full-Text Search (FTS)
    • IBM DB2: Text Search

    There are also third-party solutions for indexing text, such as:

    • Apache Lucene / Solr
    • Sphinx Search
    • Xapian
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Like many, I have spreadsheet that draws data from over 40 text files as
Why do many web applications (like Bank sites) prevent the right click property in
I've been using Fluent nHibernate with success on many web<->db applications and like it
We are migrating many ASP.NET 1.1 web applications to new servers. We would like
I have a web part which uses many SharePoint controls like menu, SPGrid, tool
Like many programmers, I'm prone to periodic fits of inspiration wherein I will suddenly
Like many people, I have several SVN repositories that contains several projects. I've decided
I'm designing (and developing) web software that will allow the general public to sign
I've seen this behaviour in many websites and web applications but I'm not able
I have Java servlet-based web applications. I would like to implement some operations in

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.