Question: I'm trying to make a menu in this style with the same code: 
<http://www.jeremymartin.name/examples/kwicks.php?example=1>

I added the links and they're not working. Why are they not?

Here's my code:

```
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
        <link rel="stylesheet" type="text/css" href="css/main.css" />

        <script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
        <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
        <script src="js/jquery.kwicks-1.5.1.pack.js" type="text/javascript"></script>

        <script type="text/javascript">
            $().ready(function() {
                $('.kwicks').kwicks({
                    max : 220,
                    spacing : 5
                });
            });
        </script>
    </head>

    <body>
        <ul class="kwicks horizontal" >
            <li id="kwick_1" a href="#"></a></li>
            <li id="kwick_2" a href="#"></a></li>
            <li id="kwick_3" a href="#"></a></li>
            <li id="kwick_4" a href="#"></a></li>
        </ul>
    </body>
</html>

```

Answer: 
For now - `newsequentialid()` can **only** be used as a default constraint on a column. That's what the error message pretty clearly says, too.

So in order to get your sequential GUID's - you must have a table. No other way to do this. And no other way in SQL Server 2012, either.

I have no idea nor any information as to why there's such a difference, and why Microsoft chose to implement it this way....

**Update:** 

OK, so you need to get that value that is being inserted into your table - how about using the [`OUTPUT` clause](http://msdn.microsoft.com/en-us/library/ms177564.aspx)?

Something like:

```
DECLARE @NewIDs TABLE (NewSeqID UNIQUEIDENTIFIER)

INSERT INTO dbo.YourTable(list-of-columns)
OUTPUT INSERTED.NewSeqID INTO @NewIDs(NewSeqID)
VALUES (.........)

```

This way, the output from the `INSERT` operation - the newly created sequential GUIDs - is being stored into that table variable, and you can use that, return it, slice it - whatever you like!
the official Microsoft saying is:

> 
> NEWSEQUENTIALID() can only be used with DEFAULT constraints on table
>  columns of type uniqueidentifier. For example: CREATE TABLE myTable
>  (ColumnA uniqueidentifier DEFAULT NEWSEQUENTIALID())
> 
> 
> 

described here
<http://msdn.microsoft.com/en-us/library/ms189786.aspx>

NewID generates a random number and the other is the next sequential number.