Click here to Skip to main content
15,915,164 members
Home / Discussions / Database
   

Database

 
GeneralRe: Delete Insert VS. Update Insert Pin
Hesham Amin24-Feb-07 7:52
Hesham Amin24-Feb-07 7:52 
QuestionSQL Update query fails Pin
balu chettri23-Feb-07 5:14
balu chettri23-Feb-07 5:14 
AnswerRe: SQL Update query fails Pin
JUNEYT23-Feb-07 6:52
JUNEYT23-Feb-07 6:52 
QuestionODBC Pin
A kamath23-Feb-07 1:36
A kamath23-Feb-07 1:36 
AnswerRe: ODBC Pin
Pete O'Hanlon23-Feb-07 2:32
mvePete O'Hanlon23-Feb-07 2:32 
GeneralRe: ODBC Pin
A kamath23-Feb-07 3:04
A kamath23-Feb-07 3:04 
GeneralRe: ODBC Pin
Marcus J. Smith23-Feb-07 3:47
professionalMarcus J. Smith23-Feb-07 3:47 
GeneralRe: ODBC Pin
A kamath23-Feb-07 4:06
A kamath23-Feb-07 4:06 
GeneralRe: ODBC Pin
Marcus J. Smith23-Feb-07 4:18
professionalMarcus J. Smith23-Feb-07 4:18 
GeneralRe: ODBC Pin
A kamath23-Feb-07 5:06
A kamath23-Feb-07 5:06 
GeneralRe: ODBC Pin
Marcus J. Smith23-Feb-07 6:50
professionalMarcus J. Smith23-Feb-07 6:50 
GeneralRe: ODBC Pin
A kamath23-Feb-07 20:03
A kamath23-Feb-07 20:03 
QuestionGenerate Insert method for my View-adapter Pin
anderslundsgard22-Feb-07 23:07
anderslundsgard22-Feb-07 23:07 
AnswerRe: Generate Insert method for my View-adapter Pin
Sylvester george23-Feb-07 3:01
Sylvester george23-Feb-07 3:01 
GeneralRe: Generate Insert method for my View-adapter Pin
anderslundsgard23-Feb-07 3:37
anderslundsgard23-Feb-07 3:37 
QuestionSQL Report Error Message Pin
navhob@yahoo.com22-Feb-07 21:19
navhob@yahoo.com22-Feb-07 21:19 
QuestionHow to query all the tables in a database with shcema name Pin
NK722-Feb-07 18:52
NK722-Feb-07 18:52 
AnswerRe: How to query all the tables in a database with shcema name Pin
Hesham Amin22-Feb-07 22:28
Hesham Amin22-Feb-07 22:28 
QuestionNull parent row parameter for addRow method, using typed dataset Pin
hoonzis22-Feb-07 13:41
hoonzis22-Feb-07 13:41 
AnswerRe: Null parent row parameter for addRow method, using typed dataset Pin
Mark J. Miller23-Feb-07 3:51
Mark J. Miller23-Feb-07 3:51 
You have to ask yourself, "what is the reason for having the ForeignKeyConstraint"? The purpose of a foreign key constraint is to enforce the data integrity of the relationship. Depending on what it is you're trying to accomplish here's some suggestions:

1) Set the EnforceConstraints property of the Dataset to false. However, this will affect all your constraints, not just the specific foreign key constraint. So if you have other constraints you need to be aware of what the affect will be of turning them off.

2) Use a DataRelation instead. The trick is that it will add a foreign key constraint which you will have to remove. This will work if the purpose of your constraint is simply to indicate a relation between the tables and not to enforce data integrity. Then you can use methods like DataRow.GetChildRows().

3) If you don't want to enforce data entegrity and you aren't using methods like DataRow.GetChildRows() then you may not need the constraint at all
GeneralRe: Null parent row parameter for addRow method, using typed dataset Pin
hoonzis25-Feb-07 10:36
hoonzis25-Feb-07 10:36 
GeneralRe: Null parent row parameter for addRow method, using typed dataset Pin
hoonzis25-Feb-07 20:34
hoonzis25-Feb-07 20:34 
GeneralRe: Null parent row parameter for addRow method, using typed dataset Pin
Mark J. Miller26-Feb-07 2:01
Mark J. Miller26-Feb-07 2:01 
GeneralRe: Null parent row parameter for addRow method, using typed dataset Pin
hoonzis26-Feb-07 23:22
hoonzis26-Feb-07 23:22 
Questiontsql table alias - performance? Pin
matthew.rowe22-Feb-07 13:25
matthew.rowe22-Feb-07 13:25 

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.