Home Forums SQL Server 2008 T-SQL (SS2K8) Calculate time difference between two related visitors without using cursor RE: Calculate time difference between two related visitors without using cursor

  • patrickmcginnis59 10839 (10/10/2016)


    CELKO (10/5/2016)


    This is the fragment of the table

    No, this is not a table at all. A table has to have a key.

    From what I've experienced, a table in some sql dialects can lack a key entirely. Are you sure you aren't thinking of a "relation?"

    I do think of relations. And in the original table ID and ArrivalDateTime comprise a composite primary key