Coffeehouse Post

Single Post Permalink

View Thread: GUID's and javascript
  • User profile image

    zhuo wrote:
    Speaking of GUID, what do you all use to generate GUIDs?

    just thought I should post here the answer to my own question.

    the .net framework has System.Guid.NewGuid() function that can be used to generate GUID. if you were to generate GUID on the database side, simply use NEWID() and insert this into a column that is of type "uniqueidentifier".

    for more:

    James Smiley