View using UNION updatable?

  • Hello all,

    Would you expect a view that uses UNION ALL to be updatable?

    The basics of the view are;

    SELECT whatever FROM whatever1

    UNION

    SELECT whatever FROM whatever2

    UNION

    .

    .

    .

    When I try to update whaterver2 through the view I get a message,

    "The view is no updatable because it contains derived or constant information." 

    JM

  • You'll have to use an instead of update trigger to modify the underlying tables

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply