title: How to convert Explicitly in Salesfore SOQL - Invalid bind expression type of SOBJECT
body: <p>Is there a way I can do this in SOQL?</p>
  
  <p>(this is a sql statement)</p>
  
  <p>Convert(varchar(35),[FieldName1])</p>
  
  <p>I'm trying to do a SOQL WHERE statement to compare an account and opportunity.</p>
  
  <p>This is What I want:</p>
  
  <p>SELECT Convert(VarChar(35),FieldName1), FieldName2</p>
  
  <p>From tbl</p>
  
  <p>where FieldName1 = fieldName2</p>
  
  <p>I figure this is what I need since this is the error message I'm getting:</p>
  
  <p>Invalid bind expression type of SOBJECT:Account for column of type String</p>