Mysql 时间戳&;SQL查询中的增量值

Mysql 时间戳&;SQL查询中的增量值,mysql,sql,azure,Mysql,Sql,Azure,我不熟悉SQL查询。目前,我正在研究为什么没有将数据复制到接收器表中 源查询是: **select * from Table_Name where TimeStamp > '@{activity('OldValue').output.firstRow.IncrementValue}' and TimeStamp<= '@{activity('NewValue').output.firstRow.NewIncrementValue}**' **从表名称中选择*,其中 时间戳>'@{

我不熟悉SQL查询。目前,我正在研究为什么没有将数据复制到接收器表中

源查询是:

**select * from Table_Name where
TimeStamp > '@{activity('OldValue').output.firstRow.IncrementValue}' and 
TimeStamp<= '@{activity('NewValue').output.firstRow.NewIncrementValue}**'
**从表名称中选择*,其中
时间戳>'@{activity('OldValue').output.firstRow.IncrementValue}'和

时间戳是否向其添加动态内容?你的语法是正确的

从表名称中选择*,其中
时间戳>'@{activity('OldValue').output.firstRow.IncrementValue}'和

TimeStamp如果它写得像:
where TimeStamp>'2000-01-01'和TimeStamp这些语句是什么意思:@{activity('OldValue').output.firstRow.IncrementValue@{activity('NewValue').output.firstRow.NewIncrementValue}语法高亮显示您的错误-在
{activity('OldValue')中引用字符.output.firstRow.IncrementValue}
会干扰查询文本中的内容。您好@ag1,如果您需要更多信息,请告诉我。:)太好了!!我正在测试它。您好@ag1。它现在能工作吗?
select * from [dbo].[product] where CREATE_TIME> '@{activity('OldValue').output.firstRow.IncrementValue}' and CREATE_TIME<= '@{activity('NewValue').output.firstRow.NewIncrementValue}'