• kenny.ratliff1 (9/8/2013)


    Greetings Jamie and anyone on this string -

    I'm hoping to create dummy data for use in some health examples. This article look is great in getting me started that direction! However, I'm getting an error when I use the CREATE SEQUENCE that states 'Unknown object type 'sequence' used in a CREATE, DROP, or ALTER statement'. I am using SQL 2012, which I understand is the only version the SEQUENCE statement works.

    Forgive me, as I'm a GIS guy and not a SQL guy! So maybe I'm missing something pretty simple?

    Thanks!

    Kenny

    Hi Kenny,

    Welcome Aboard!

    I recommend that you start a new thread on the SQL Server 2012 forum of this site and include the code that you're having problems with.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)