Home Forums SQL Server 2008 T-SQL (SS2K8) Avoiding cursor: Help with getting only first match after previous match RE: Avoiding cursor: Help with getting only first match after previous match

  • CELKO (11/19/2012)


    ...

    Oh, IDENTITY cannot be a valid key for table either.

    ...

    Sorry to disappointing you again, but it really can!

    Have you tried it? If you need our help we can show how it does work...

    Just in case:

    IDENTITY

    Indicates that the new column is an identity column. When a new row is added to the table, the Database Engine provides a unique, incremental value for the column. Identity columns are typically used with PRIMARY KEY constraints to serve as the unique row identifier for the table.

    from

    http://msdn.microsoft.com/en-us/library/ms174979.aspx

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]