# [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc...

- Thread: https://externals.io/message/13513
- Original archive: https://news-web.php.net/php.internals/13513
- Started by Frank M. Kromann on 2004-10-25T19:07:29+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13513 — Frank M. Kromann — 2004-10-25T19:07:29+00:00

URL: https://externals.io/message/13513#13513

Thanks Jason,

I'll take a look at it. Looks good a first view.

- Frank

> Here's a patch to the MSSQL extention that:
> 
> 1. Formats a resultant uniqueidentifer into a string (instead of raw
binary)
> which is the same way that odbc handles them.
> 
> 2. Enables uniqueids to be used from freetds if SYBUNIQUE is defined in
the
> freetds code. I believe this is what the original author intended to
do,
> since the current code doesn't do anything unless you add your own -D
> compile definition or change the code to work.
> 
> This patch could probably also be applied to the 4.3 and 5.1 trees
without
> modification, I haven't tried.
> 
> Jason
