Click here to Skip to main content
16,007,163 members
Home / Discussions / Database
   

Database

 
Questiontables Pin
jds120711-Jun-08 9:50
jds120711-Jun-08 9:50 
AnswerRe: tables Pin
Pete O'Hanlon11-Jun-08 10:49
mvePete O'Hanlon11-Jun-08 10:49 
AnswerRe: tables Pin
Christian Graus11-Jun-08 11:38
protectorChristian Graus11-Jun-08 11:38 
QuestionDatabase fields for forum project Pin
Shanmugapriya.G11-Jun-08 3:04
Shanmugapriya.G11-Jun-08 3:04 
AnswerRe: Database fields for forum project Pin
Ashfield11-Jun-08 4:40
Ashfield11-Jun-08 4:40 
AnswerRe: Database fields for forum project Pin
Colin Angus Mackay11-Jun-08 5:03
Colin Angus Mackay11-Jun-08 5:03 
GeneralRe: Database fields for forum project Pin
Pete O'Hanlon11-Jun-08 8:50
mvePete O'Hanlon11-Jun-08 8:50 
Questiona child row has multiple parents [modified] Pin
Kjetil Svendsen11-Jun-08 2:17
Kjetil Svendsen11-Jun-08 2:17 
Hi All

I have 4 tables in a dataset:
ACTIVITY
ACTIVITY_PARTICIPANT related to ACTIVITY (nested)
PERSON related to ACTIVITY_PARTICIPANT (nested)
ROLE related to ACTIVITY_PARTICIPANT (nested)

if one person i related several times to one activity, with different roles, I get the "a child row has multiple parents" error.

I understand why I get the error Smile | :)

My question is:
How could I produce this xml
<DATASET>
<ACTIVITY>
<ACTIVITY_PARTICIPANT>
<ROLE ID="1" />
<PERSON NAME="PERSON A" />
</ACTIVITY_PARTICIPANT>
<ACTIVITY_PARTICIPANT>
<ROLE ID="2">
<PERSON NAME="PERSON A" />
</ROLE></ACTIVITY_PARTICIPANT>
</ACTIVITY>
</DATASET>

from my dataset. Is there a method, or do I have to write it myself ?

I guess I have to start with
ACTIVITY
ACTIVITY_PARTICIPANT related to ACTIVITY (nested)
PERSON related to ACTIVITY_PARTICIPANT (NOT nested)
ROLE related to ACTIVITY_PARTICIPANT (NOT nested)

Thans in advance

Kjetil

modified on Wednesday, June 11, 2008 8:55 AM
QuestionStored Procedures Out Put Parameter Returns Null What is missed. Pin
greekius11-Jun-08 2:17
greekius11-Jun-08 2:17 
AnswerRe: Stored Procedures Out Put Parameter Returns Null What is missed. Pin
SomeGuyThatIsMe11-Jun-08 2:43
SomeGuyThatIsMe11-Jun-08 2:43 
GeneralRe: Stored Procedures Out Put Parameter Returns Null What is missed. Pin
greekius11-Jun-08 3:02
greekius11-Jun-08 3:02 
GeneralRe: Stored Procedures Out Put Parameter Returns Null What is missed. Pin
SomeGuyThatIsMe11-Jun-08 4:18
SomeGuyThatIsMe11-Jun-08 4:18 
AnswerRe: Stored Procedures Out Put Parameter Returns Null What is missed. Pin
Ashfield11-Jun-08 4:45
Ashfield11-Jun-08 4:45 
QuestionMixing Select Into and Appending Data Pin
prithaa11-Jun-08 1:00
prithaa11-Jun-08 1:00 
AnswerRe: Mixing Select Into and Appending Data Pin
Ashfield11-Jun-08 2:56
Ashfield11-Jun-08 2:56 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 5:49
prithaa11-Jun-08 5:49 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 6:37
prithaa11-Jun-08 6:37 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 7:19
prithaa11-Jun-08 7:19 
QuestionConnect to DB2 database Pin
Sankalp Verma11-Jun-08 0:47
Sankalp Verma11-Jun-08 0:47 
AnswerRe: Connect to DB2 database Pin
Vasudevan Deepak Kumar11-Jun-08 1:22
Vasudevan Deepak Kumar11-Jun-08 1:22 
QuestionConvert crystal report to text file Pin
Krazy Programmer10-Jun-08 21:29
Krazy Programmer10-Jun-08 21:29 
Questionupdate same table in 3 different databases Pin
Dushan12310-Jun-08 20:05
Dushan12310-Jun-08 20:05 
AnswerRe: update same table in 3 different databases Pin
Ashfield10-Jun-08 21:02
Ashfield10-Jun-08 21:02 
GeneralRe: update same table in 3 different databases Pin
Dushan12310-Jun-08 23:47
Dushan12310-Jun-08 23:47 
GeneralRe: update same table in 3 different databases Pin
Ashfield11-Jun-08 3:02
Ashfield11-Jun-08 3:02 

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.