Sql Replication Guid Field


Author
Message
Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
I am planning on using replication between branch offices and the corporate office. Using replication requires a guid field in each table which is fine, I am even considering using it as my primary keys as each office's data will be consolidated into one db.

The real problem I am having is the column with the Guid type is set to have a default value of newsequentialid() which from what I have read eliminates alot of the index issues with using guids by making the id sequential. How do I configure the BO to pass default to allow sql to generate newid. I know I can generate a guid on the .net side but it does not seem to be sequential.

Thanks

P

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Paul Chase - 19 Years Ago
StrataFrame Team - 19 Years Ago
Paul Chase - 19 Years Ago
StrataFrame Team - 19 Years Ago
                     Ok, I guess that makes my decision on using them for PK's. :)
Paul Chase - 19 Years Ago
Paul Chase - 19 Years Ago
                 Here isa shot from Sql
Paul Chase - 19 Years Ago
StrataFrame Team - 19 Years Ago
                         Thanks Ben, I was kinda hopeful to use guid's as a primary key the...
Paul Chase - 19 Years Ago
                             What you have is correct. The problem is that one of the columns in...
StrataFrame Team - 19 Years Ago
                                 You were correct I had accidently left the renamed pk as identity....
Paul Chase - 19 Years Ago
                                     No, stuff like that isn't obvious... it's just that I've seen that...
StrataFrame Team - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search