Hi,
it seems to me, that execute statement on external enters NULL in the
target table in columns that are not mentioned in an insert statement -
at least, the default values from domain definition are not used.
Example:
in test.fdb
create domain D_TID as integer default current_transaction;
recreate table TEST (
TEST integer,
TID D_TID
);
from another db
execute statement 'insert into TEST (TEST) values (1)' on external
'test.fdb' with common transaction;
commit;
In test.fdb, column "TID" is NULL.
If the insert statement is issued in test.fdb, it's the transaction ID.
Is this a feature or a bug?
Thank you for hints! Thomas
--
Diplom-Informatiker
Wielandstraße 14c • 23558 Lübeck
Tel +49 (22 25) 91 34 - 545 • Fax +49 (22 25) 91 34 - 604
Mail [email protected] <mailto:[email protected]>
ASSFINET-Logo
*ASSFINET Dienstleistungs-GmbH*
Max-Planck-Straße 14 • 53501 Grafschaft bei Bonn
[email protected] <mailto:[email protected]> • www.assfinet.de
<http://www.assfinet.de/>
Geschäftsführer: Dipl. Wirtschaftsinformatiker Marc Rindermann
Registergericht Koblenz HRB 23331
Diese E-Mail enthält vertrauliche Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist
nicht gestattet.