Declare @color nvarchar (100) Set @color='Red or Blue'
Select T1.CARDID,t1.CarDescription,@COLOR from containstable([dbo].[CARDDB],[file_stream],@Color) as t0 join [dbo].[cardDB] t1 on t0.=t1.[path_locator]
The containtable provides the list of cars that are either red or blue. I need to to identify which car is red or blue by row.
The desired results is:
1 vin123 | honda blue 2 doors | blue
2 vin456 | red gmc truck | Red