0
我试图让上周六,日期格式像yyyy/mm/dd
RedShip sql中获取最后一个星期六查询错误
而且我使用
FORMAT(DATEADD(wk, -1, DATEADD(wk, DATEDIFF(wk, 0,getdate()), -1)), 'yyyy/MM/dd')
和我有错误:
function pg-catalog.data_diff("unknown", integer, timestamp without time zone) does not exists. Hint: No function matches the given name and arguments types.