Re: Error 457, why?
Posted in 1994
Richard Spitz (myself) wrote: : On machine nr. two, user "verteil" issues the following commands while : connected to database "verteiler": : create synonym syn_errtable for personal@DBPERS:"personal".errtable; : create view v_errtable as select field1 f1, field2 f2 from syn_errtable; : create table new_errtable (feld1 smallint, feld2 char(30)); : insert into new_errtable select * from v_errtable; : The last statement bombs with error -457! Thanks for the replies who pointed me to Bug #22151. Looks like I will have to wait until Siemens-Nixdorf releases their port of 5.03 and my institution is willing to upgrade. In the meantime, I have found a workaround: I don't create a synonym for the remote table and then a local view on that table, but rather create the view on the remote machine and then a synonym for that view on the local machine. Strangely enough, that works! Can anybody tell me if there are performance differences between the two approaches? Regards, Richard -- +----------------------------+-------------------------------------------+ | Dr. Richard Spitz | INTERNET: spitz@ana.med.uni-muenchen.de | | EDV-Gruppe Anaesthesie | Tel : +49-89-7095-3421 | | Klinikum Grosshadern | FAX : +49-89-7095-8886 | | 81366 Munich, Germany | | +----------------------------+-------------------------------------------+