Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GUID (newid)

Status
Not open for further replies.

ResolutionsNET

IS-IT--Management
Joined
Jul 31, 2000
Messages
70
Location
GB
Hi,

Can anyone help!

We have two databases (one a copy of the other).

In one table we generate an id using newid() as the default value for uniqueidentifer.

This works perfectly on one machine, but on the other all the uniqueidentifers as sequentially based. why, how???

The machines in question are NT 4.0 running SQL Server (sp 2).

Help.
 
The database configurations are identical on both machines? The ones doing the sequential numberings don't have any triggers or anything? And the datatype for both is the same?

Probably a stupid question - do the other machines have network cards? The GUID is based partly on the NIC's burned-in address. Oh wait, it's also partly based on the date/time. So that can't be it.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top