Home > Database > Mysql Tutorial > body text

在SQL 2012中使用和Oracle 一样的序列

WBOY
Release: 2016-06-07 17:38:01
Original
1221 people have browsed it

使用过Oracle的都知道,Oracle中的自增是靠序列来完成的,在一定程度上蛮方便的。现在SQL 2012中也有序列了。来看看怎么做的吧! SQL Server 现在将序列当成一个对象来实现,创建一个序列的语法如下: sequence_name ] } | { NO MINVALUE } ] } | { NO MAXVA

使用过Oracle的都知道,Oracle中的自增是靠序列来完成的,在一定程度上蛮方便的。现在SQL 2012中也有序列了。来看看怎么做的吧!

 

SQL Server 现在将序列当成一个对象来实现,,创建一个序列的语法如下:

sequence_name ] } | { NO MINVALUE } ] } | { NO MAXVALUE } ] } | { NO CACHE } ]

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!