Click here to Skip to main content
15,883,839 members
Home / Discussions / Database
   

Database

 
QuestionCONTAINS not working in my full text search Pin
Brendan Vogt31-May-09 5:13
Brendan Vogt31-May-09 5:13 
AnswerRe: CONTAINS not working in my full text search Pin
Satish Pai31-May-09 19:49
Satish Pai31-May-09 19:49 
Questionline break not working in crystal reports ? Pin
kindman_nb30-May-09 21:58
kindman_nb30-May-09 21:58 
AnswerRe: line break not working in crystal reports ? Pin
Rajesh Anuhya1-Jun-09 0:03
professionalRajesh Anuhya1-Jun-09 0:03 
QuestionHelp with SQL query Pin
Joe_P30-May-09 10:30
Joe_P30-May-09 10:30 
AnswerRe: Help with SQL query Pin
Mycroft Holmes30-May-09 23:06
professionalMycroft Holmes30-May-09 23:06 
GeneralRe: Help with SQL query Pin
Joe_P31-May-09 4:11
Joe_P31-May-09 4:11 
GeneralRe: Help with SQL query Pin
Mycroft Holmes31-May-09 11:10
professionalMycroft Holmes31-May-09 11:10 
You missed the point, the problem is in your join. All reference records join to hdr record 1 and are therefore valid.

parentid int (1) = bhid int (1) therefore status will always be 10

@BatchHeaderReference
Parentid Child
1	2
1	3
1	4
1	5
1	6
1	7


Is correct, status 15 never comes into it and the 2-7 are NOT FROM THE HDR table. I think your data structure is screwed, if your status was on the reference table then the filtering would work

Never underestimate the power of human stupidity
RAH

GeneralRe: Help with SQL query Pin
Joe_P31-May-09 11:23
Joe_P31-May-09 11:23 
GeneralRe: Help with SQL query Pin
Mycroft Holmes31-May-09 11:36
professionalMycroft Holmes31-May-09 11:36 
GeneralRe: Help with SQL query Pin
Joe_P31-May-09 14:08
Joe_P31-May-09 14:08 
GeneralRe: Help with SQL query Pin
Mycroft Holmes31-May-09 17:24
professionalMycroft Holmes31-May-09 17:24 
GeneralRe: Help with SQL query Pin
smcnulty20004-Jun-09 1:24
smcnulty20004-Jun-09 1:24 
AnswerRe: Help with SQL query Pin
Niladri_Biswas2-Jul-09 0:25
Niladri_Biswas2-Jul-09 0:25 
Questionget the inserted GUID Pin
Mohammad Al Hoss30-May-09 2:18
Mohammad Al Hoss30-May-09 2:18 
AnswerRe: get the inserted GUID Pin
Mycroft Holmes30-May-09 23:15
professionalMycroft Holmes30-May-09 23:15 
Questionhow do i use a primary key auto-generated in a table as a foreign key in another table? Pin
ChiSmile29-May-09 21:10
ChiSmile29-May-09 21:10 
AnswerRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
Mycroft Holmes29-May-09 23:40
professionalMycroft Holmes29-May-09 23:40 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
ChiSmile30-May-09 0:29
ChiSmile30-May-09 0:29 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
Mycroft Holmes30-May-09 0:48
professionalMycroft Holmes30-May-09 0:48 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
ChiSmile1-Jun-09 2:09
ChiSmile1-Jun-09 2:09 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
Mycroft Holmes1-Jun-09 3:33
professionalMycroft Holmes1-Jun-09 3:33 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
ChiSmile1-Jun-09 16:49
ChiSmile1-Jun-09 16:49 
GeneralRe: how do i use a primary key auto-generated in a table as a foreign key in another table? Pin
Mycroft Holmes1-Jun-09 17:17
professionalMycroft Holmes1-Jun-09 17:17 
Questionhow i can do this Pin
NNR_Noga29-May-09 4:22
NNR_Noga29-May-09 4:22 

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.