【问题标题】:Add additional column with current date during copy data tool in Azure synapse在 Azure 突触复制数据工具期间添加具有当前日期的附加列
【发布时间】:2021-06-23 01:07:06
【问题描述】:

在通过 Azure Synapse Analytics 中的复制数据工具加载文件时,我需要添加一个额外的列,当我加载数据时,该列应该选择 current_dateTime。

我面临的问题是,当我将函数 current_dateTime 添加为一个值时,它将“current_dateTime”作为字符串而不是实际日期。

【问题讨论】:

    标签: datetime azure-synapse


    【解决方案1】:

    请尝试@utcnow() 表达式,它应该可以工作。

    我得到了这个作为输出

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-15
      • 2018-10-18
      • 1970-01-01
      • 2020-07-16
      • 1970-01-01
      • 2016-03-06
      • 2023-03-11
      • 1970-01-01
      相关资源
      最近更新 更多