我正在尝试在JSL中运行SQL语句,但是该语句包括带有datetime的列,我不需要datetime,而只是date。 JSL不喜欢“出于某些原因进行广播”,有人可以帮忙吗
Open Database(
"DSN=EDWPROD; UID=" || ID || ";PWD=" || PASS || ";MODE=SHARE;DBALIAS=EDWPROD;",
"SELECT distinct Cast(TRXN_TS as date) as Trans_Date
FROM pODSCFAView.IMP_DBT_AUTHZN_POST_VW
where Cast(TRXN_TS as date) as Trans_Date between (current_date - 16 day) and (current_date - 3 day)
WITH UR");