 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Adalberto Baldini Guest
|
Posted: Mon May 14, 2007 5:37 pm Post subject: which component to manage 2 Tables ? |
|
|
Given this query from 2 tables
select A.csoc, A.nreserc, A.csez, A.fl_sezio, A.nicknm,
B.coddiv, B.curcycod, B.codiva
from sezio A
left join sezio_1 B on (A.csoc = B.csoc and A.nreserc = B.nreserc and
A.csez = B.csez)
which is the best component to use for insert and update both table ?
Thanks
Adalberto Baldini |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Mon May 14, 2007 6:49 pm Post subject: Re: which component to manage 2 Tables ? |
|
|
Put the join in view then write triggers on the view to handle the
updates and inserts. See the Data Definition Guide for details.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|