MyFirstUDRKit/test/testudrkit.ddl

20 lines
322 B
Plaintext
Raw Normal View History

2023-01-25 14:54:48 +01:00
/*
create tables for test db
*/
create sequence test_div_seq;
commit;
create domain D_ID as BIGINT;
2023-01-25 15:58:16 +01:00
create domain D_DOUBLE as double precision;
create domain D_BIGINT as BIGINT;
2023-01-25 14:54:48 +01:00
create table test_div(
test_div_id d_id generated always as identity
2023-01-25 15:58:16 +01:00
, numerator D_BIGINT
, denominator D_BIGINT
, result D_DOUBLE
2023-01-25 14:54:48 +01:00
);
2023-01-25 15:58:16 +01:00