我正在尝试在unix中运行下面的bteq脚本。
BTEQ - Update.txt
.LOGON i.p/username,password
.set width 132
.set errorout stdout
sel date, time;
.set maxerror 1
Nonsequenced validtime
update SCHEMA_1.TABLE_1
set ef_dtm = period( timestamp '1900-01-01 00:00:00.999999',
end(ef_dtm))
where begin(ef_dtm) > CURRENT_TIMESTAMP
and end(ef_dtm) = to_date('12/31/9999', 'mm/dd/yyyy')
.quit
但我收到以下错误
***失败3706语法错误:在非JSON类型上无效使用JSON实体引用语法。 声明#1,信息= 0
退出BTEQ ... RC(返回码)= 8
请注意,如果我运行更新语句以及未经过排序的
有效时间直接在SQL Assistant中,它没有任何问题。
能帮我解决这个问题吗?
如果您需要更多信息,请与我们联系。
答案 0 :(得分:0)
更新语句末尾的用户分号。