suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT27521 Status: Closed

-217 WITH INSTEAD OF TRIGGER ON VIEW TO A REMOTE TABLE IF THE COLUMN NAMES
ON THE VIEW ARE DIFFERENT THAN THE REMOTE TABLE

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
With the following scenario:

Instance A (remote)

create table "informix".t1
  (
    c1 char(20),
    c2 char(20),
    c3 char(20)
  );

revoke all on "informix".t1 from "public" as "informix";

Instance B (local):

create view "informix".v_t1 (v1,v2,v3) as
  select x0.c1 ,x0.c2 ,x0.c3 from
testpmrs@ol_informix1170:"informix"
    .t1 x0 ;

create trigger "informix".t_v_insert instead of insert on
"informix"
    .v_t1 referencing new as n
    for each row
        (
        insert into testpmrs@ol_informix1170:"informix".t1 (c1,
    c2,c3)  values (n.v1 ,n.v2 ,'H' ));

When trying to insert using view. i.e.

    insert into v_t1 (v1,v2) VALUES ("xxxxx", "yyyyy")

You'll get

   217: Column (v1) not found in any table in the query (or SLV
is undefined).

If the column names on the view are the same as the table, it
works successfully.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS 12.10.xC10 or older versions.                   *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* -217 With INSTEAD OF trigger on view to a remote table if    *
* column names on view are different than remote table.        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.12.2018
08.10.2019
08.10.2019
Problem solved at the following versions (IBM BugInfos)
12.10.xC11
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download