rowguidcol

  • I just dont get it .. whats the difference between

    create table guidPrimaryKey

    (

    guidkey uniqueidentifier not null rowguidcol default newid(),

    value varchar(10)

    )

    and

    create table guidPrimaryKey

    (

    guidkey uniqueidentifier not null default newid(),

    value varchar(10)

    )

    does the data therein behave any differently etc... Ive looked up rowguidcol in BOL but I still can see what the difference is

    any words of wisdom etc.. ?

    thanks si

  • Certain features (merge replication, filestream) require the presence of a rowguidcol in the table. Other than that, nothing that I'm aware of

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • GilaMonster (10/6/2008)


    Certain features (merge replication, filestream) require the presence of a rowguidcol in the table. Other than that, nothing that I'm aware of

    so unless your using any of those there is no need to speciify rowguildcol... although I guess it doesn't hurt ?

    cheers Si

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply