免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2374 | 回复: 2
打印 上一主题 下一主题

ASE 12.5数据库做Generate database objects DDL出错! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-24 14:23 |只看该作者 |倒序浏览
我在用sybase central工具,对数据库做Generate database objects DDL提示:

server massage number:209
Ambiguous column name crdate!

数据库是ASE 12.5
有哪位知道这是什么问题吗?

论坛徽章:
0
2 [报告]
发表于 2004-12-24 14:49 |只看该作者

ASE 12.5数据库做Generate database objects DDL出错!

是对数据库还是对表或trigger做Generate DDL?
你有哪个表包含了crdate吗?那个表上有没有view、trigger之类的东东?检查一下吧,估计是哪个view或trigger或proc里的命令有点问题,同时连立了两个表,而两个表都有crdate字段
你可以分步Generate,先做所有表的、然后是view、proc、trigger,看哪一步出问题

论坛徽章:
0
3 [报告]
发表于 2004-12-24 15:12 |只看该作者

ASE 12.5数据库做Generate database objects DDL出错!

是对数据库,有太多表了,检查会晕的。我在网上搜了一下,有人也遇到过一样的问题,回复者的意思是老版本的CENTRAL有问题,要用12.5以后的版本,我找半天也找不着。
Re: ambiguous column name crdate

--------------------------------------------------------------------------------

Liza, A.S wrote:
  >;
  >; Hi,
  >;
  >; I try to generate the ddl and receive this error. What
  >; should I do?
  >;
  >; Thanks in advance.


In 12.5, a "crdate" field was added to sysindexes. Queries doing a join
between sysobjects and sysindexes that didn't specify the source of the
crdate field will raise this error. This is a particular problem using
older versions of Sybase Central against ASE 12.5. If that is what you
are
using, install a 12.5 version of Sybase Central.

-bret
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP