473,569 Members | 2,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text string search query

Hi group

I have a database that contains questions and answers. I need to
create a query that will produce results for all the questions and
answers fields by looking for a single word that will be contained
anywhere in the text string.

i.e. If I wanted to list all questions and answers that contain the
word "internet" how would I do it?

Thanks in advance

Joe
Nov 12 '05 #1
1 7245
SELECT tblTest.TestTex t
FROM tblTest
WHERE (((tblTest.Test Text) Like "*internet* "));

Search help using the keyword 'like' for details.

--
Brendan Reynolds
<pa*********@ti scali.co.uk> wrote in message
news:t7******** *************** *********@4ax.c om...
Hi group

I have a database that contains questions and answers. I need to
create a query that will produce results for all the questions and
answers fields by looking for a single word that will be contained
anywhere in the text string.

i.e. If I wanted to list all questions and answers that contain the
word "internet" how would I do it?

Thanks in advance

Joe

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7694
by: Michael | last post by:
Hello, I need to search in a number column for particular "subnumbers". For example I have a column with 3453454 in it an I like to searh for the number "53" in it. I know I could use select * from table where number_column like '%53%' but since the table is rather big I'd like to use Oracle Text for it and query like
1
1901
by: Miguel Dias Moura | last post by:
Hello, What I know: To send a Value in the URL and filter the results in order to display only the database records which FIELD_A = Value. What I need to do: I have a page with an Input Text Box and a Search Button. Each record of my database has 5 fields:
2
2953
by: Zeya | last post by:
I have an application where I am required to run a full text query. My database is MySQL and code in C#. The way all queries are SELECT * FROM table WHERE firstname = ? and using command parameter the value of ? is added. But, how would I do the same in case of full text search. SELECT *, ROUND( MATCH(title, comments) AGAINST (? IN...
11
3851
by: DP | last post by:
hi, i have a films table and form. i have a txt field in teh form called txtSearch , and i;ve created a query with all the film table fields in it. how can i get the query to load up, wth the required film infromation in it?? i've a query called qryFilmQuery
1
1349
by: owenmj | last post by:
I have a written a web service which takes some user input and then looks up the relevant details on a SQL server. All works fine until I embed it in the Research pane - at which point I receive no query text when I invoke the service I'm deploying the service on my local machine so is there an IIS setting that I have not set that stops...
3
15884
by: Tim Sprout | last post by:
I want button1_Click on Form1 to send a query using the textBox1.Text string as part of the query. I want to populate a dataGridView from an Access database file. I am trying to build a search box with the textBox1. How do I pass the textBox1.Text string to the query? The query string below gives me one blank row: string strOleDb = "Select...
1
4416
by: JosAH | last post by:
Greetings, Introduction This week we start building Query objects. A query can retrieve portions of text from a Library. I don't want users to build queries by themselves, because users make mistakes. Instead, the Library hands out queries to the user given a simple query String. This is how the library does it:
13
4970
by: Robertf987 | last post by:
Hi, Yet another thing I need help with I'm affraid. I'll first explain what I want, then I'll try to explain what I have. I'm using Microsoft Access 2000. What I want is to be able to do a search, taking it's criteria fro a text box on a form. This bit is easy, done it a jazillion times. But I want it to be an "Or" search. If I type in it...
8
5088
by: Sham | last post by:
I am trying to perform the following query on a table that has been indexed using Full Text Search. The table contains multiple columns than have been indexed. (Below, all xml columns are indexed). dbo.maintable(ProfileID int pk) dbo.fts_table(ProfileID int pk fk, col1 xml, col2 xml, col3 xml) I want to perform a query that will return...
0
2712
by: JamesOo | last post by:
I have the code below, but I need to make it searchable in query table, below code only allowed seach the table which in show mdb only. (i.e. have 3 table, but only can search either one only, cannot serch by combine 3 table) Example I have the query table below, how do I make the code to seach based on the query from this: SELECT...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.