Forum Replies Created

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

  • RE: Random problems

    Exactly!

    NEWID() creates a unique identifier.

    Is it randomly distributed over as set of charater strings of certain length, or something like that? Otherwise, it is not clear RAND(checksum(newid())) is unformly distributed...

  • RE: Random problems

    To "chose at random from 1,..,5" usually means to chose from 1,..,5 in such a way that any outcome has the same probability of being selected.

    Assuming T-SQL RAND() has good...

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