TUniQuery updating more than 1 table
Posted: Fri 01 Apr 2011 14:01
I use unidac with firebird.
I have an SQL which is a join on 2 tables.
eg.
SELECT *
FROM TABLE1 T1
JOIN TABLE2 T2
ON( T1.KEY = T2.KEY )
I need when I insert into this dataset and then post.
TABLE1 to be inserted into, then TABLE2 to be inserted into.
How can I do this?
I also want it to be as simple as possible.
I have an SQL which is a join on 2 tables.
eg.
SELECT *
FROM TABLE1 T1
JOIN TABLE2 T2
ON( T1.KEY = T2.KEY )
I need when I insert into this dataset and then post.
TABLE1 to be inserted into, then TABLE2 to be inserted into.
How can I do this?
I also want it to be as simple as possible.