Click here to Skip to main content
15,900,973 members
Home / Discussions / Database
   

Database

 
QuestionSQL Server2000 "Filegroup is Full" Pin
Syed Shahid Hussain24-Sep-08 18:41
Syed Shahid Hussain24-Sep-08 18:41 
AnswerRe: SQL Server2000 "Filegroup is Full" Pin
Justin The24-Sep-08 20:20
Justin The24-Sep-08 20:20 
GeneralRe: SQL Server2000 "Filegroup is Full" Pin
Syed Shahid Hussain24-Sep-08 22:03
Syed Shahid Hussain24-Sep-08 22:03 
Questionhow to set and get value of Variable in sql server 2005 Integration Tasks Pin
gzali24-Sep-08 18:03
gzali24-Sep-08 18:03 
AnswerRe: how to set and get value of Variable in sql server 2005 Integration Tasks Pin
John_Adams25-Sep-08 20:41
John_Adams25-Sep-08 20:41 
QuestionDataset Join on Constant Pin
Coxianuk24-Sep-08 9:12
Coxianuk24-Sep-08 9:12 
AnswerRe: Dataset Join on Constant Pin
Wendelius24-Sep-08 9:31
mentorWendelius24-Sep-08 9:31 
GeneralRe: Dataset Join on Constant Pin
Coxianuk24-Sep-08 10:05
Coxianuk24-Sep-08 10:05 
May be I did not get the picture drawn clearly. Using your notation

Table A -> Table B -> Table C
Table A -> Table C

So

Using KeyA, KeyB and KeyC as field names

TableA
KeyA

TableB
KeyA
KeyB

TableC
KeyA
KeyB // Null for records related directly to TableA
KeyC

The first relationship to Table C is therefore possible using KeyA and KeyB from table B
The second is KeyA and null.

Are you saying that I can define the following relationship

ds.Relations.Add("Table A to B",
tableA.Columns["KeyA"], tableB.Columns["KeyA"]);

ds.Relations.Add("Table B to C",
new DataColumn[] {tableB.Columns["KeyA"], tableB.Columns["KeyB"]},
new DataColumn[] {tableC.Columns["KeyA"], tableC.Columns["KeyB"]);

ds.Relations.Add("Table A to C",
new DataColumn[] {tableA.Columns["KeyA"], null},
new DataColumn[] {tableC.Columns["KeyA"], tableC.Columns["KeyB"]);

Hope this better defines my issue.
GeneralRe: Dataset Join on Constant Pin
Wendelius24-Sep-08 10:37
mentorWendelius24-Sep-08 10:37 
GeneralRe: Dataset Join on Constant Pin
Coxianuk24-Sep-08 11:02
Coxianuk24-Sep-08 11:02 
GeneralRe: Dataset Join on Constant Pin
Wendelius24-Sep-08 11:07
mentorWendelius24-Sep-08 11:07 
AnswerRe: Dataset Join on Constant Pin
nelsonpaixao24-Sep-08 14:47
nelsonpaixao24-Sep-08 14:47 
QuestionSQL Server 2000 with SP4 installation problem Pin
Krishnatv24-Sep-08 6:22
Krishnatv24-Sep-08 6:22 
AnswerRe: SQL Server 2000 with SP4 installation problem Pin
Wendelius24-Sep-08 8:38
mentorWendelius24-Sep-08 8:38 
QuestionSmall Database Design Confusion Pin
oohungoo24-Sep-08 5:16
oohungoo24-Sep-08 5:16 
AnswerRe: Small Database Design Confusion Pin
Wendelius24-Sep-08 8:37
mentorWendelius24-Sep-08 8:37 
AnswerRe: Small Database Design Confusion Pin
nelsonpaixao28-Sep-08 14:17
nelsonpaixao28-Sep-08 14:17 
QuestionSQL Server 2005 Installation Error Pin
Afaak24-Sep-08 4:27
Afaak24-Sep-08 4:27 
AnswerRe: SQL Server 2005 Installation Error Pin
Wendelius24-Sep-08 8:28
mentorWendelius24-Sep-08 8:28 
Question[Message Deleted] Pin
notes4we24-Sep-08 3:04
notes4we24-Sep-08 3:04 
AnswerRe: Send Mail Task on Failure Pin
Wendelius24-Sep-08 8:26
mentorWendelius24-Sep-08 8:26 
QuestionMaking a Winform Application Support ORACLE and SQL Server Pin
Member 118746624-Sep-08 2:40
Member 118746624-Sep-08 2:40 
AnswerRe: Making a Winform Application Support ORACLE and SQL Server Pin
Coxianuk24-Sep-08 11:23
Coxianuk24-Sep-08 11:23 
AnswerRe: Making a Winform Application Support ORACLE and SQL Server Pin
jVersteegen24-Sep-08 23:49
jVersteegen24-Sep-08 23:49 
GeneralRe: Making a Winform Application Support ORACLE and SQL Server Pin
Member 118746625-Sep-08 5:08
Member 118746625-Sep-08 5:08 

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.