I have a query where I am joining a uniqueidentifier column from Table A with a column in Table B. The field in Table is of datatype integer while the field in Table A is a unique identifier datatype. I know that my uniqueIdentifier is a number, but sql won't let me join on those 2 colums. It gives me the error "Operand type clash: uniqueidentifier is incompatible with int". Is there no way that you can join an uniqueIdentity field with another field that is not of the same datatype?