我正在尝试在包含带有此查询的二进制图像的表中插入一个条目:
INSERT INTO [AlphaDb].[dbo].[ImageThumbnail] (id, imageLinkFunctionId, thumbnail, byDefault)
VALUES ('8da33b6b-ff9e-41be-83d9-ede6edfbb53a', 'a00dbde1-a6be-4f29-b9fc-3d5eb1082c11',
CONVERT(VARBINARY(MAX), '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkI
CQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQ
EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wgARCAAQABADAREA
AhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAQMEBf/EABcBAAMBAAAAAAAAAAAAAAAAAAABBAP/
2gAMAwEAAhADEAAAAdOemhoGzBf/xAAYEAEAAwEAAAAAAAAAAAAAAAAEAwUGB//aAAgBAQABBQLY
pVe6jCMTVaFCYjdDqUxr6J//xAAbEQABBQEBAAAAAAAAAAAAAAAAAgMEEjEhQv/aAAgBAwEBPwGO
3fR9umEVXKktXk//xAAbEQACAwADAAAAAAAAAAAAAAADEgABAhEhMf/aAAgBAgEBPwExE8gdvXcJ
WWa4Os8tmf/EACYQAAEDAwMCBwAAAAAAAAAAAAECAwQABRESFCEGQSIjMUJhoeH/2gAIAQEABj8C
NiNx2kSJoSBz5rhGrgdzS+njcN5EeQtSCCfA4n1HwcVc4MhzCZCWnkcd9Az9UxHjryiJGdUoY9x/
CK//xAAbEAEAAwEAAwAAAAAAAAAAAAABABEhMVFhof/aAAgBAQABPyEheiMOqOIhuFe4OyjgV1B8
iwxoY4Iw0cmheNPkyC1wogtrrF//2gAMAwEAAgADAAAAEO6v/8QAHhEBAAICAQUAAAAAAAAAAAAA
AQARIVFhQXGhscH/2gAIAQMBAT8QF5VfnghLKzfx5jW3yd4inSe2f//EABwRAAICAgMAAAAAAAAA
AAAAAAABESFBYVHB8P/aAAgBAgEBPxB6UnrbG0IfrWhLh0LNkP/EABkQAQEBAQEBAAAAAAAAAAAA
AAERIQAxcf/aAAgBAQABPxAznzJGKAJ1gpN0qOxxWi7K8oLbx8aSiUpsu5Rn1z51EpIDErvs9vf/
2Q==',2), 'true')
我收到了这个错误:
Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to varbinary.
我哪里错了?