I get the following error from the query analyzer when
I try to run this query
Server: Msg 457, Level 16, State 1, Procedure usp_keywordSearchLineageAllAncestrytable, Line 10
Implicit conversion of char value to char cannot be performed because the collation of the value is unresolved due to a collation conflict.
All the fields I am trying to concatenate are char (50)
Can anyone suggest a reason why.
Select (tbLin_id) ancestryID,(tbHrse_id) horse_id,(tbLin_PGS+tbLin_PGD+tbLin_MGS+tbLIn_MGD+tbLin_PGGS+tbLin_PGGD+tblin_MGGS+tbLin_MGGD+tblin_PDGGS+tblin_PDGGD+tblin_MSGGS+tblin_MSGGD) ancestryText
into #ancestry
From
[dbTophorse].[dbo].[tbLineage]
I try to run this query
Server: Msg 457, Level 16, State 1, Procedure usp_keywordSearchLineageAllAncestrytable, Line 10
Implicit conversion of char value to char cannot be performed because the collation of the value is unresolved due to a collation conflict.
All the fields I am trying to concatenate are char (50)
Can anyone suggest a reason why.
Select (tbLin_id) ancestryID,(tbHrse_id) horse_id,(tbLin_PGS+tbLin_PGD+tbLin_MGS+tbLIn_MGD+tbLin_PGGS+tbLin_PGGD+tblin_MGGS+tbLin_MGGD+tblin_PDGGS+tblin_PDGGD+tblin_MSGGS+tblin_MSGGD) ancestryText
into #ancestry
From
[dbTophorse].[dbo].[tbLineage]