• Comments posted to this topic are about the item uniqueidentifier

  • Almost beaten but I remembered that you can't convert uniqueidentifiers

    What you don't know won't hurt you but what you know will make you plan to know better
  • On a Halloween day I expected a scary question than a routine one.

    Does, Steve lost his sense of HUMOR ? 🙂

    Take it easy.

    SQL DBA.

  • You can also assign a UniqueIdentifier by casting from a VarBinary data type.

    Select Cast(Cast(1 as VarBinary(16)) as UniqueIdentifier)

    Play around with the VarBinary size and the integer being cast and see if you can figure out how it gets translated into the UniqueIdentifier!

    I have CDO. It's like OCD but all the letters are in alphabetical order... as they should be.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply