SET BAIL ON;
EXECUTE PROCEDURE sp_patch_from(3);

CREATE VIEW v_config (
    nm,
    vl
) AS
SELECT
    nm,
    vl
  FROM cnfg;

CREATE VIEW v_test (
    foo,
    bar,
    foobar
) AS
SELECT
    foo,
    bar,
    foo+bar
  FROM test;

CREATE VIEW v_test2 (
    foo,
    bar,
    baz,
    foobarbaz
) AS
SELECT
    foo,
    bar,
    baz,
    foo*bar*baz + 2
  FROM test2;

EXECUTE PROCEDURE sp_set_vaneer('$Revision: 10 $'); COMMIT;
