Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 的用法 » SQL 方言和兼容性 » SQL 方言 » 为实现 Transact-SQL 兼容性配置数据库

 

确保兼容的对象名

每个数据库对象在特定的命名空间中都必须有唯一的名称。在此命名空间之外,允许出现重复的名称。某些数据库对象在 Adaptive Server Enterprise 和 SQL Anywhere 中占用不同的命名空间。

对于触发器名称,Adaptive Server Enterprise 的命名空间限制比 SQL Anywhere 的更严格。触发器名称在数据库中必须是唯一的。为了达到 SQL 兼容性,您应该遵守 Adaptive Server Enterprise 的限制并确保触发器名称在数据库中是唯一的。