Evaluate “image” SQL column in a query
问题 I have a database containing a table with an "Image" colum: This column actually contains a long string encoded as HEX byte values. I need to select all records where the string encoded by this column contains a certain substring. Pseudocode would be: Select * From SomeTable Where dataColumnofTypeImage.ToString().Contains("somesubstring") I tried to do this in Linq (LinqPad) using: from z in Zanus let p = z.Udata.ToArray() // z.Udata will be of type System.Linq.Binary so I want to make a byte