Click here to Skip to main content
16,021,181 members
Home / Discussions / Database
   

Database

 
Questionquery problem Pin
Dhyanga17-Feb-11 5:47
Dhyanga17-Feb-11 5:47 
AnswerRe: query problem Pin
Chris Meech17-Feb-11 6:05
Chris Meech17-Feb-11 6:05 
GeneralRe: query problem Pin
Dhyanga17-Feb-11 7:35
Dhyanga17-Feb-11 7:35 
GeneralRe: query problem Pin
Chris Meech17-Feb-11 8:24
Chris Meech17-Feb-11 8:24 
AnswerRe: query problem Pin
Luc Pattyn17-Feb-11 8:29
sitebuilderLuc Pattyn17-Feb-11 8:29 
GeneralRe: query problem Pin
Dhyanga17-Feb-11 9:53
Dhyanga17-Feb-11 9:53 
AnswerRe: query problem Pin
Luc Pattyn17-Feb-11 10:36
sitebuilderLuc Pattyn17-Feb-11 10:36 
AnswerRe: query problem Pin
Wendelius17-Feb-11 10:09
mentorWendelius17-Feb-11 10:09 
Since you have AND between the conditions both conditions must be true on the same row. So if you don't get any results with those two conditions but you do get results when using the conditions separately, you don't have a row in the table that satisfies both conditions at the same time.

Also when you use LIKE operator like that, you select all rows that start with letters P, D, F, R, T, F (again), D(again), O or C. For example if the field file contains a value 'test.abc', this will satisfy the condition since it start with the letter T. Is this what you really want?
The need to optimize rises from a bad design.My articles[^]

QuestionWhich Database to Use Pin
Anubhava Dimri16-Feb-11 23:41
Anubhava Dimri16-Feb-11 23:41 
AnswerRe: Which Database to Use Pin
Richard MacCutchan17-Feb-11 0:17
mveRichard MacCutchan17-Feb-11 0:17 
GeneralRe: Which Database to Use Pin
Anubhava Dimri17-Feb-11 0:18
Anubhava Dimri17-Feb-11 0:18 
GeneralRe: Which Database to Use Pin
WoutL17-Feb-11 0:26
WoutL17-Feb-11 0:26 
GeneralRe: Which Database to Use Pin
Richard MacCutchan17-Feb-11 1:11
mveRichard MacCutchan17-Feb-11 1:11 
GeneralRe: Which Database to Use Pin
Anubhava Dimri17-Feb-11 1:15
Anubhava Dimri17-Feb-11 1:15 
GeneralRe: Which Database to Use Pin
Eddy Vluggen17-Feb-11 7:17
professionalEddy Vluggen17-Feb-11 7:17 
GeneralRe: Which Database to Use Pin
Anubhava Dimri17-Feb-11 17:24
Anubhava Dimri17-Feb-11 17:24 
GeneralRe: Which Database to Use Pin
Eddy Vluggen18-Feb-11 11:38
professionalEddy Vluggen18-Feb-11 11:38 
GeneralRe: Which Database to Use Pin
Anubhava Dimri18-Feb-11 17:27
Anubhava Dimri18-Feb-11 17:27 
GeneralRe: Which Database to Use Pin
Eddy Vluggen19-Feb-11 1:13
professionalEddy Vluggen19-Feb-11 1:13 
GeneralRe: Which Database to Use Pin
Anubhava Dimri19-Feb-11 1:23
Anubhava Dimri19-Feb-11 1:23 
GeneralRe: Which Database to Use Pin
Eddy Vluggen19-Feb-11 1:56
professionalEddy Vluggen19-Feb-11 1:56 
GeneralRe: Which Database to Use Pin
Richard MacCutchan17-Feb-11 21:47
mveRichard MacCutchan17-Feb-11 21:47 
AnswerRe: Which Database to Use Pin
Eddy Vluggen17-Feb-11 7:21
professionalEddy Vluggen17-Feb-11 7:21 
QuestionOracle cursor Pin
anishkannan16-Feb-11 22:47
anishkannan16-Feb-11 22:47 
AnswerRe: Oracle cursor Pin
Wendelius17-Feb-11 0:31
mentorWendelius17-Feb-11 0:31 

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.