Question
coldfusion converts GUID to binary
here's a simple stored procedure
CREATE PROCEDURE guidTEST
AS
SELECT newID() as guidTEST,
'8B710BAD-2F8C-42AA-BA67-8984CBA81BD6' as guidTEST2
when i run this sproc from the query analyzer (exec guidTEST)
it returns, as expected, a query with a new GUID and the 2nd GUID as a string
BUT, when I run this:
<cfstoredproc procedure="guidTEST" datasource="test">
<cfprocresult resultset="1" name="test">
</cfstoredproc>
<cfdump var="#test#">
the first column is converted to binary, (the second column is still a string).
how do i make sure the first col stay returns as a string?
i'm running CF7, SQL2000, apache
THANKS!!
CREATE PROCEDURE guidTEST
AS
SELECT newID() as guidTEST,
'8B710BAD-2F8C-42AA-BA67-8984CBA81BD6' as guidTEST2
when i run this sproc from the query analyzer (exec guidTEST)
it returns, as expected, a query with a new GUID and the 2nd GUID as a string
BUT, when I run this:
<cfstoredproc procedure="guidTEST" datasource="test">
<cfprocresult resultset="1" name="test">
</cfstoredproc>
<cfdump var="#test#">
the first column is converted to binary, (the second column is still a string).
how do i make sure the first col stay returns as a string?
i'm running CF7, SQL2000, apache
THANKS!!