Click here to Skip to main content
15,914,111 members
Home / Discussions / Database
   

Database

 
QuestionInsert into Table Values Pin
Rajiya20-Mar-07 0:28
Rajiya20-Mar-07 0:28 
AnswerRe: Insert into Table Values Pin
coolestCoder20-Mar-07 1:10
coolestCoder20-Mar-07 1:10 
GeneralRe: Insert into Table Values Pin
NanaAM20-Mar-07 1:38
NanaAM20-Mar-07 1:38 
GeneralRe: Insert into Table Values Pin
Dave Kreskowiak20-Mar-07 16:42
mveDave Kreskowiak20-Mar-07 16:42 
AnswerRe: Insert into Table Values Pin
Pete O'Hanlon20-Mar-07 1:50
mvePete O'Hanlon20-Mar-07 1:50 
QuestionCant Add Column with text to System.Data.DataSet Pin
dimaaan20-Mar-07 0:03
dimaaan20-Mar-07 0:03 
Question"All words" or "Any word" query Pin
hepsy.i19-Mar-07 23:45
hepsy.i19-Mar-07 23:45 
AnswerRe: "All words" or "Any word" query Pin
coolestCoder19-Mar-07 23:53
coolestCoder19-Mar-07 23:53 
You can use OR conditions in the where clause of the query.
You will have to provide options of all words or any word in the UI.
According to the user preference you can change where condition in the stored procedure.
Consider following search query --

"some query with multiple words"

Then your where condition can go like this -

where text_data like '%some query with multiple words%'

OR
where text_data like '%some%' or text_data like '%query%' or text_data 
like '%with%' or text_data like '%multiple%' or text_data like '%words%'

You can combine these 2 conditions together if you dont want to provide UI.
Then your where condition will be as this -

where text_data like '%some query with multiple words%' or text_data 
like '%some%' or text_data like '%query%' or text_data like '%with%' or 
text_data like '%multiple%' or text_data like '%words%'







"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder

coolestCoder

GeneralRe: "All words" or "Any word" query Pin
hepsy.i20-Mar-07 0:51
hepsy.i20-Mar-07 0:51 
GeneralRe: "All words" or "Any word" query Pin
coolestCoder20-Mar-07 1:08
coolestCoder20-Mar-07 1:08 
QuestionLock records or table of access database Pin
hamid_m19-Mar-07 23:11
hamid_m19-Mar-07 23:11 
AnswerRe: Lock records or table of access database Pin
joon vh.20-Mar-07 23:05
joon vh.20-Mar-07 23:05 
QuestionMySQL Update for 20,000 rows takes 4+ hours? Pin
Paul Betteridge19-Mar-07 22:46
Paul Betteridge19-Mar-07 22:46 
AnswerRe: MySQL Update for 20,000 rows takes 4+ hours? Pin
Pete O'Hanlon20-Mar-07 1:53
mvePete O'Hanlon20-Mar-07 1:53 
GeneralRe: MySQL Update for 20,000 rows takes 4+ hours? Pin
Paul Betteridge20-Mar-07 2:59
Paul Betteridge20-Mar-07 2:59 
GeneralRe: MySQL Update for 20,000 rows takes 4+ hours? Pin
Pete O'Hanlon20-Mar-07 3:11
mvePete O'Hanlon20-Mar-07 3:11 
QuestionHow to query all available database on the server Pin
Member 258581919-Mar-07 21:46
Member 258581919-Mar-07 21:46 
AnswerRe: How to query all available database on the server Pin
Tirthadip19-Mar-07 22:14
Tirthadip19-Mar-07 22:14 
Questionupdating an sql database Pin
Keshav V. Kamat19-Mar-07 17:22
Keshav V. Kamat19-Mar-07 17:22 
AnswerRe: updating an sql database Pin
N a v a n e e t h19-Mar-07 19:26
N a v a n e e t h19-Mar-07 19:26 
AnswerRe: updating an sql database Pin
Imran Khan Pathan19-Mar-07 19:28
Imran Khan Pathan19-Mar-07 19:28 
QuestionSQLExpress usage advice please Pin
Glen Harvy19-Mar-07 16:57
Glen Harvy19-Mar-07 16:57 
QuestionHow to get the IP address of a user sitting behind a routher? Pin
Khoramdin19-Mar-07 12:39
Khoramdin19-Mar-07 12:39 
QuestionSql update problem Pin
ali_reza_zareian19-Mar-07 11:34
ali_reza_zareian19-Mar-07 11:34 
AnswerRe: Sql update problem Pin
mghiassi24-Mar-07 5:34
mghiassi24-Mar-07 5:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.