I'm runing query like this:
SELECT CAST(CAST(IDAT as varbinary(max)) as varchar(max))
IDAT column type is the "image", query executing successful but some Turkish characters are 'çaÄŸdaÅŸ' like this. it should be 'çağdaş'. I tried this :
SELECT CAST(CAST(IDAT as varbinary(max)) as varchar(max)) COLLATE Turkish_CI_AS
Nothing changed. Does anyone have an idea for this situation?