in reply to GUIDs returned as gibberish (ODBC/MS SQL)

Are you sure the data put into the DB is OK...?

The first 8 characters in your expected result string are

DA D2 61 52

which - read in reverse order - looks pretty much as some hex encoded values (0x52 = 'R', 0x61 = 'a', ... ) that would fit what you see, but then your expected '-' doesn't fit into the picture, so I'm unsure about what's what where.

Krambambuli
---
  • Comment on Re: GUIDs returned as gibberish (ODBC/MS SQL)