Drunkenneo
Registered User.
- Local time
- Today, 14:33
- Joined
- Jun 4, 2013
- Messages
- 192
I Have two tables:
DE
--------
id PK
orig FK ref id code
Dest FK ref id code
flag
Code
-------
id PK
cod
flag
here the code tables have column flag entry as 0 or 1
Problem is if either one of orig and dest have flag entries as 1 or both have 1 i want to update the flag in DE table as 1 or else 0. Can i acheive that by using a query, Please help
DE
--------
id PK
orig FK ref id code
Dest FK ref id code
flag
Code
-------
id PK
cod
flag
here the code tables have column flag entry as 0 or 1
Problem is if either one of orig and dest have flag entries as 1 or both have 1 i want to update the flag in DE table as 1 or else 0. Can i acheive that by using a query, Please help