Click here to Skip to main content
16,010,416 members
Home / Discussions / Database
   

Database

 
Questionsqlserver/ msAccess Pin
siva.k18-Dec-06 0:13
siva.k18-Dec-06 0:13 
AnswerRe: sqlserver/ msAccess Pin
Pete O'Hanlon18-Dec-06 0:18
mvePete O'Hanlon18-Dec-06 0:18 
AnswerRe: sqlserver/ msAccess Pin
ChandraRam18-Dec-06 1:28
ChandraRam18-Dec-06 1:28 
Questionhow to declare a variable in sql views Pin
yogita charhate17-Dec-06 22:31
yogita charhate17-Dec-06 22:31 
AnswerRe: how to declare a variable in sql views Pin
Pete O'Hanlon17-Dec-06 22:37
mvePete O'Hanlon17-Dec-06 22:37 
QuestionHelp... database consolidation Pin
shum2317-Dec-06 21:28
shum2317-Dec-06 21:28 
AnswerRe: Help... database consolidation Pin
Colin Angus Mackay17-Dec-06 22:43
Colin Angus Mackay17-Dec-06 22:43 
QuestionTo Get Hierarcal Data Pin
TC2817-Dec-06 19:34
TC2817-Dec-06 19:34 
Dear All,

I have parent child relation in my single table. now i want to retrieve all the data in tree structure with joining of other table. Can any one help me to generate the query regarding this?

The Table is As below.

ParentID ChildId Name.
0 1 A
1 2 B
1 3 C
0 4 d


Another Table has the data like

ID Value
2 X
3 Y

?????How to write query to get values in hierircal struture as below?

A
B = X
C = d

Thanks.

TC.
AnswerRe: To Get Hierarcal Data Pin
Tarakeshwar Reddy17-Dec-06 20:25
professionalTarakeshwar Reddy17-Dec-06 20:25 
QuestionDifferent Table Column in a DataGrid Pin
Tomy140217-Dec-06 17:21
Tomy140217-Dec-06 17:21 
AnswerRe: Different Table Column in a DataGrid Pin
Kschuler18-Dec-06 5:38
Kschuler18-Dec-06 5:38 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140218-Dec-06 15:17
Tomy140218-Dec-06 15:17 
GeneralRe: Different Table Column in a DataGrid Pin
Kschuler19-Dec-06 3:01
Kschuler19-Dec-06 3:01 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140219-Dec-06 21:29
Tomy140219-Dec-06 21:29 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140219-Dec-06 21:39
Tomy140219-Dec-06 21:39 
GeneralRe: Different Table Column in a DataGrid Pin
Kschuler20-Dec-06 2:46
Kschuler20-Dec-06 2:46 
GeneralRe: Different Table Column in a DataGrid [modified] Pin
Tomy140220-Dec-06 15:34
Tomy140220-Dec-06 15:34 
GeneralRe: Different Table Column in a DataGrid Pin
Kschuler21-Dec-06 2:48
Kschuler21-Dec-06 2:48 
GeneralRe: Different Table Column in a DataGrid Pin
Tomy140221-Dec-06 15:39
Tomy140221-Dec-06 15:39 
Questionhow to get a specific no of rows in sql Pin
Rocky#17-Dec-06 7:45
Rocky#17-Dec-06 7:45 
AnswerRe: how to get a specific no of rows in sql Pin
Pete O'Hanlon17-Dec-06 8:44
mvePete O'Hanlon17-Dec-06 8:44 
GeneralRe: how to get a specific no of rows in sql Pin
Rocky#19-Dec-06 0:35
Rocky#19-Dec-06 0:35 
QuestionSQL Reporting Services Pin
Jimbo2517-Dec-06 6:23
Jimbo2517-Dec-06 6:23 
Questionhow to import tables Pin
Marc Soleda17-Dec-06 1:42
Marc Soleda17-Dec-06 1:42 
AnswerRe: how to import tables Pin
Colin Angus Mackay17-Dec-06 8:29
Colin Angus Mackay17-Dec-06 8:29 

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.