摘要: 使用过Oracle的都知道,Oracle中的自增是靠序列来完成的,在一定程度上蛮方便的。现在SQL 2012中也有序列了。来看看怎么做的吧!SQL Server 现在将序列当成一个对象来实现,创建一个序列的语法如下:CREATE SEQUENCE [schema_name . ] sequence_name [ AS [ built_in_integer_type | user-defined_integer_type ] ] [ START WITH ] [ INCREMENT BY ] [ { MINVALUE [ ] } | { NO MINVALUE } ... 阅读全文
posted @ 2013-11-07 13:38 魔多 阅读(887) 评论(0) 推荐(0) 编辑