SQL statement erroring out due to source field being unidqueidentifier

Randy

Registered User.
Local time
, 22:50
Joined
Aug 2, 2002
Messages
94
I have a field I am trying to bring into a SQL statement


,ISNULL(Convert(nvarchar(50),OPP1.OriginatingLeadId),'') AS 'OriginatingLeadId'

I get this error message
Conversion failed when converting from a character string to uniqueidentifier.

the field specs' originatingleadid is attached

I am new to SQL, been using MS Access for years, but just got a new job this year and doing a lot more SQL. I really thought I had this correct. Any help is appreciated.
 

Attachments

  • uniqueindetifier.png
    uniqueindetifier.png
    3.2 KB · Views: 180

Users who are viewing this thread

Back
Top Bottom