Click here to Skip to main content
15,887,683 members
Home / Discussions / Database
   

Database

 
QuestionSyntax's Pin
Renuka Reddy12-Mar-07 18:02
Renuka Reddy12-Mar-07 18:02 
AnswerRe: Syntax's Pin
Colin Angus Mackay13-Mar-07 0:59
Colin Angus Mackay13-Mar-07 0:59 
QuestionADO and Cyrillic text Pin
langley11112-Mar-07 11:15
langley11112-Mar-07 11:15 
QuestionSearch index Pin
N a v a n e e t h12-Mar-07 5:34
N a v a n e e t h12-Mar-07 5:34 
QuestionMultiple values in stored proc parameter Pin
GaryWoodfine 12-Mar-07 5:22
professionalGaryWoodfine 12-Mar-07 5:22 
AnswerRe: Multiple values in stored proc parameter Pin
Mark J. Miller12-Mar-07 5:39
Mark J. Miller12-Mar-07 5:39 
GeneralRe: Multiple values in stored proc parameter Pin
GaryWoodfine 12-Mar-07 5:45
professionalGaryWoodfine 12-Mar-07 5:45 
QuestionUpdating order of DataTables Pin
Satish3212-Mar-07 4:36
Satish3212-Mar-07 4:36 
Hi,


Hi I have 3 tables, one is master table( EMP) and other two are child tables (Emp_Dep and Emp_Jone).

Example:

EMP
EmpId Name
1 ABC
2 XYZ

Emp_Dep
EmpId DepId
1 2

Emp_Jone
EmpId JoneId
1 4


I have created these 3 tables and defined Relation objects between these three tables.
My problem is the order of updating in my application,

Case1:
If I update the tables in Emp_jone, Emp_Dep and Emp order, I am getting “constrain failed” exception, when I have add a new employee and linked with a Department and Jone. This would be resolved if I update in Emp, Emp_Jone and Emp_Dep order

Case2:
If I deleted an existing employee, who has been liked with some Department and jone, and I update in Emp, Emp_Jone and Emp_Dep, I will get same constrain failed exception, to resolve this I will have to update as specified in Case1 order.

Could you please give me some suggestion to resolve this without any intermediate updates?

Regards,
Satish




Satish

QuestionData Group on Week: Pin
Shahzad.Aslam12-Mar-07 1:22
Shahzad.Aslam12-Mar-07 1:22 
AnswerRe: Data Group on Week: Pin
Harini N K12-Mar-07 1:43
Harini N K12-Mar-07 1:43 
AnswerRe: Data Group on Week: Pin
Bad Programmer13-Mar-07 15:40
Bad Programmer13-Mar-07 15:40 
GeneralRe: Data Group on Week: Pin
Shahzad.Aslam13-Mar-07 18:50
Shahzad.Aslam13-Mar-07 18:50 
QuestionDynamic sort order in SQL stored proc Pin
GaryWoodfine 12-Mar-07 0:31
professionalGaryWoodfine 12-Mar-07 0:31 
AnswerRe: Dynamic sort order in SQL stored proc Pin
Harini N K12-Mar-07 1:36
Harini N K12-Mar-07 1:36 
QuestionShould i install SQL SERVER on client Machine Pin
dotnethunk11-Mar-07 21:12
dotnethunk11-Mar-07 21:12 
AnswerRe: Should i install SQL SERVER on client Machine Pin
N a v a n e e t h11-Mar-07 21:29
N a v a n e e t h11-Mar-07 21:29 
GeneralRe: Should i install SQL SERVER on client Machine Pin
dotnethunk11-Mar-07 21:41
dotnethunk11-Mar-07 21:41 
GeneralRe: Should i install SQL SERVER on client Machine Pin
N a v a n e e t h11-Mar-07 22:26
N a v a n e e t h11-Mar-07 22:26 
QuestionView Pin
indian14311-Mar-07 20:54
indian14311-Mar-07 20:54 
AnswerRe: View Pin
Sylvester george11-Mar-07 23:50
Sylvester george11-Mar-07 23:50 
AnswerRe: View Pin
Krish - KP12-Mar-07 1:38
Krish - KP12-Mar-07 1:38 
QuestionView Pin
indian14311-Mar-07 20:52
indian14311-Mar-07 20:52 
QuestionCreating Search Index in SQL Server Pin
N a v a n e e t h11-Mar-07 20:32
N a v a n e e t h11-Mar-07 20:32 
AnswerRe: Creating Search Index in SQL Server Pin
mghiassi25-Mar-07 9:44
mghiassi25-Mar-07 9:44 
Questionabout locks Pin
Renuka Reddy11-Mar-07 19:35
Renuka Reddy11-Mar-07 19:35 

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.