In SQL Server 2000, the only SQL Server function for GUIDs is newid, but this function doesn't create an ever-increasing pattern. In SQL Server 2005, you can use a new GUID function called newsequentialid() to populate your uniqueidentifier column. Here's an example of how you can use it:
INSERT Test DEFAULT VALUES
SELECT * FROM Test
Is there a way to create a sequential GUID in SQL Server 2000? Yes—you can use an extended procedure to generate sequential GUIDs or you can leverage someone else's code. Gert Drapers wrote an extended stored procedure, which he has published on his Web site, SQLDev.NET, at http://sqldev.net/xp/xpguid.htm.