我在C#应用程序中有下一个查询并得到标题错误
select to_char(bepr450030, 'yyyy-mm-dd'), count(1)
from cag.bepr09tb01, cag.bepr10tb01, cag.bepr45tb01, cag.bepr13tb01, cag.bepr08tb01
where bepr090030 = 2 and bepr090010 = bepr100040 and bepr450020 = bepr100010 and bepr450040 = bepr130010 and bepr130025 = bepr080010 and
bepr450030 > ({ts '2014-03-01 00:00:00'})
and bepr450260 = 'N' and bepr090010 < > 10000381 and bepr090010< > 692863 and
bepr450040 = 215 group by bepr450040, to_char(bepr450030, 'yyyy-mm-dd')
order by bepr450040, to_char(bepr450030, 'yyyy-mm-dd')
我已经分隔了错误,并且会在下一行中发生:
bepr450030 > ({ts '2014-03-01 00:00:00'})
我认为是因为{}字符,但我很确定,我一直在寻找解决方案并逃避角色,但我还没有找到它。有什么建议吗?
感谢。