Constructing a good search query using system.data.oracleclient

后端 未结 2 1480
再見小時候
再見小時候 2021-01-07 03:53

I am constructing a search function in a class to be used by several of our asp pages. The idea is simple, take a search term from the user and query the database for the i

2条回答
  •  醉话见心
    2021-01-07 04:39

    Since you're using oracle, another option would be to use Oracle Text to perform the search.

    It can take a bit to set up properly, but if you have a large amount of text to search, or have some sort of structured data, it can offer you many more options than a simple wild-card comparison.

    It also has some nice features for dealing with multiple languages, if you happen to have that problem as well.

提交回复
热议问题