sybase 错误代码=325 !! 江湖救急啊百度不到

outman66912 2014-11-26 12:27:43
sql语句:
select s1.*,s2.PcuLoad from
(select b.NeFdn,b.NeName,StartTime ,a.Counter_1279869417 as MaxNbrPdchAss,a.Counter_1279869420 as AvgNbrPdchAss,a.Counter_1279869422 as FailNbrPcuBusyPdchAss,
a.Counter_1279869425 as MaxNbrEquEgprsPdch from tbl_Result_1275073217_3 a ,tbl_ObjectInstance b
where StartTime='2014-11-26 11:00:00' and a.ObjectNo=b.ObjectNo
and b.ObjectTypeId in (select ObjTypeId from systbl_FunctionSubSet where FunctionSubSetId=1275073217)) s1 left join
(select b.NeFdn,StartTime ,avg(Counter_1279769419) as PcuLoad
from tbl_Result_1275073117_3 a ,tbl_ObjectInstance b
where StartTime='2014-11-26 11:00:00'
and a.ObjectNo=b.ObjectNo and b.ObjectTypeId in (select ObjTypeId from systbl_FunctionSubSet where FunctionSubSetId=1275073117)
group by b.NeFdn,StartTime)s2
on s1.NeFdn=s2.NeFdn

报错信息:
adaptive server finds no legal query plan for this statement.if an abstract plan is forcing the query plan,check its correspondence to the query.if not,please contact sybase technical support.
sybase 错误代码=325



我在两台数据库上都运行了一下,一台可以的,另一台就报错,大神救我~~

...全文
174 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hyf831 2016-07-05
  • 打赏
  • 举报
回复
请问楼主,问题最终解决了么?是什么方法解决的?望不吝赐教,遇到同样问题了
  • 打赏
  • 举报
回复
重启一下, sp_configure "abstrace plan" go

2,596

社区成员

发帖
与我相关
我的任务
社区描述
Sybase相关技术讨论区
社区管理员
  • Sybase社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧