G
Guest
I'm building a SQL String and I want to choose only the records that are part of the current contractID.
My Variable
Dim contrID = Request.Params("oId"
I put it into the SQL String
WHERE (JS_CRM.dbo.cntrct_cntct.ContractId = '" & contrID & "')
And I get the error message
Syntax error converting from a character string to uniqueidentifier
How do I convert my string to a uniqueidentifier???
Thanks
My Variable
Dim contrID = Request.Params("oId"
I put it into the SQL String
WHERE (JS_CRM.dbo.cntrct_cntct.ContractId = '" & contrID & "')
And I get the error message
Syntax error converting from a character string to uniqueidentifier
How do I convert my string to a uniqueidentifier???
Thanks