【问题标题】:Insert into Table from select Query Temporal从选择查询时间插入表
【发布时间】:2014-05-12 15:40:44
【问题描述】:
Insert into TableA as
( nonsequenced validtime
 select id,type from TableB );

这里的表 A 是非临时的。它只有 id 和 type 列

插入失败 3707:语法错误

基本上我想将时间选择查询的结果插入到非时间易失性表中。

任何帮助将不胜感激。

【问题讨论】:

    标签: sql teradata temporal


    【解决方案1】:

    这应该是正确的语法:

    nonsequenced validtime
    Insert into TableA
    select id,type from TableB;
    

    【讨论】:

      猜你喜欢
      • 2016-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-07
      • 1970-01-01
      • 2013-11-15
      相关资源
      最近更新 更多