asp.net membership - SQL Azure SPLIT ON UNIQUEIDENTIFIER GUID -


let's there application generating random guids corresponding number of normalized records in few tables. these records guid "tenant_id" need split multiple federated members in sql azure. when split @ command issued, ordering mechanism used split members @ specific point (tenant_id)? similar order guid_field asc/desc resultset? since guids generated randomly, best way create ranges future splits?

thank you

guids ranges split according sort order in sql server - same used order , indexes. see blog post more details on this: http://sqlblog.com/blogs/alberto_ferrari/archive/2007/08/31/how-are-guids-sorted-by-sql-server.aspx

if generating guids randomly , need split, should use ordering definition guids pick point somewhere in middle of set of guids in member splitting (assuming want split in middle).

if want more control tenants go where, generate own, "custom" guids, of course lose global uniqueness property guids have, unless ensure globally unique generation of "custom" guids.

-- hans olav


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -