【Teradata SQL】创建数据库和表

1.数据库perm大小为10G

Create database testbase as perm=10E9,spool=10E9; 

2.创建物理表

create multiset table stg(
stg decimal(18,2) title'总贷款'
)
no primary index
;

3.创建可变临时表

create volatile multiset table vt_pdm ,no log(
stg decimal(18,2) 
) no primary index on commit preserve rows;
原文地址:https://www.cnblogs.com/badboy200800/p/10538530.html