日期:2014-05-18  浏览次数:20550 次

奇怪的现象,急
我的存储过程在开发环境中运行正确
有一句如下
' ' '     group   by   effectdate,flight   order   by   effectdate   desc)   as   a   )   Group   By   flight,effectdate,canceldate   order   by   effectdate   desc '

但通过系统上传到测试服务器
' ' '   group   by   ef
然后就换行了   fectdate

这样运行就报fectdate不知道的错。我该怎么做法才能解决啊?

------解决方案--------------------
那是因為你的SQL語句一行太長了,被SQL服務器截斷了
------解决方案--------------------
多換几行寫就行了
------解决方案--------------------
你自己换行,按正确的方式
这样看程序会不会还错误的换行了!