Click to See Complete Forum and Search --> : Conversion failed when converting from a character string to uniqueidentifier.


wasted
07-06-2008, 01:47 AM
I am using ms sql database with php. I fetched a uniqueidentifier field value from one table with php and then tried to insert it to another table. I got this error message :
Warning: mssql_query() [function.mssql-query]: message: Conversion failed when converting from a character string to uniqueidentifier.

Can anybody tell me how can i solve this ?

chazzy
07-06-2008, 09:07 PM
from what i can tell, it's a known bug in PHP/MS-SQL/Sybase. You might want to take a look from here:

http://bugs.php.net/bug.php?id=33693