Files
openGauss-server/src/test/regress/sql/create_view4.sql
2021-09-23 15:19:37 +08:00

13 lines
323 B
SQL

--
-- CREATE_VIEW3
--
-- Enforce use of COMMIT instead of 2PC for temporary objects
/* unkown type */
create table test_a (a integer not null);
insert into test_a values(1);
create view test_b as select '*' as "XX",a from test_a;
select * from test_b;
select * from test_b where "XX" = '*';
drop table test_a cascade;