Error with SQL SERVER sequences

1

When trying to create a sequence in my database, I get an error. Then proceed to publish the script and the error of the query:

create sequence seq_valorar
start with 300
increment by 1
minvalue 300
no maxvalue 
no cycle;

create sequence seq_val
start with 300
increment by 1
minvalue 300
no maxvalue 
no cycle;
  

SQL error (343): Unknown object type 'sequence' used in a CREATE, DROP or ALTER statement

    
asked by zhet 05.12.2016 в 14:15
source

1 answer

1

According to the documentation, secuence only works from SQL Server 2012.

link

    
answered by 05.12.2016 / 14:32
source