I have a classic asp page that is accessed via different pages. In some situations the:
Request.QueryString("Contract_ID") is a vchar(100) and sometimes is coming a GUID.
When it is vchar(100) and this value is passed to a stored proc, I want to check the data type and if it is not a uniqueidentifier type, I want to convert it to a uniqueidentifier type.
How can I do that?