DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Amy Guest

    Fields and Identity: Yes (Not for Replication)


    Hi,
    I have noticed the identity column option has 3 options (No, Yes, Yes (Not
    For Replication).
    I read the SQL help but am still struggling in understanding exactly what
    would be best for my schema. Could someone please point me in the direction
    of some articles on this or give me a different explanation of this option?
    Thanks for your time,
    Amy


  2. #2
    David Satz Guest

    Re: Fields and Identity: Yes (Not for Replication)

    here is a start - http://sqlteam.com/item.asp?ItemID=2599

    also, see http://vyaskn.tripod.com/repl_ans4.htm for replication info..

    HTH,
    Dave

    "Amy" <akotsmith@idsgrp.com> wrote in message
    news:3e9ed407$1@tnews.web.devx.com...
    >
    > Hi,
    > I have noticed the identity column option has 3 options (No, Yes, Yes (Not
    > For Replication).
    > I read the SQL help but am still struggling in understanding exactly what
    > would be best for my schema. Could someone please point me in the

    direction
    > of some articles on this or give me a different explanation of this

    option?
    > Thanks for your time,
    > Amy
    >




  3. #3
    Royce Bacon Guest

    Re: Fields and Identity: Yes (Not for Replication)


    The Not For Replication option is used in databases where you are doing Merge
    Replication and you are assigning specific Identify ranges to the various
    sites. This option basically allows the replication process to keep the
    original Identify value when it inserts a row instead of assigning a new
    Identify value. This is critical if you have relationships with other tables
    based upon the Identity field.



    "Amy" <akotsmith@idsgrp.com> wrote:
    >
    >Hi,
    >I have noticed the identity column option has 3 options (No, Yes, Yes (Not
    >For Replication).
    >I read the SQL help but am still struggling in understanding exactly what
    >would be best for my schema. Could someone please point me in the direction
    >of some articles on this or give me a different explanation of this option?
    >Thanks for your time,
    >Amy
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links