Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

New feature in SQL Server 2012 - Sequence

By Kash Mughal,

Sequence feature which has been in Oracle for a number of years is now available in MS SQL 2012! A Sequence object is an object that provides functionality similar to Identity (Autonumber) column. The sequence object can be used with more than one table which is not possible in identity object. This is useful when you have parent-child tables and you want to know the value of the ID column before you insert records. We are including some examples here that you can use with SQL Server 2012.

Total article views: 1994 | Views in the last 30 days: 6
Related Articles

Denali — Day 10: Sequence object

Denali – Day 10: Sequence object Sequence is an object introduced in Denali, this is similar to...


Sequence of Database Objects Dependency - SQL 2005

Sequence of Database Objects Dependency - SQL 2005


How to handle parallel objects sequence after conditional split for two different case

Conditional split and following parallel object sequence


The Sequence Object in SQL Server 2012

The Sequence Object is one of the many exciting new features introduced in SQL Server 2012. Learn wh...


Gap sequence of column_id

select * from sys.columns where object_id=object_id('table') returns gap in sequence of column_id

new feature    
sql server 2012    

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones