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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - SQL 的用法 » 事务和隔离级别

 

主键生成和并发

您可能会遇到数据库应自动生成唯一编号的情况。例如,如果您正在构建一个用于存储销售发票的表,您可能希望数据库自动指派唯一的发票编号,而不希望让销售人员随意指定。

 示例
 另请参见

使用序列来生成唯一值