How to compare Image data types?
Image
I need to compare the file stored in the database with the downloaded file. But he says Image comparison is not possible. I even tried to convert to nchar
nchar
(CONVERT(char(1000), FileData)
Can anybody help me?
Do not use the image data type, which is deprecated.
image
Instead, use the varbinary(max) replacement data type, which does not have all the restrictions image
varbinary(max)
In the meantime, you can cast(FileData as varbinary(max)) to allow comparisons.
cast(FileData as varbinary(max))
Source: https://habr.com/ru/post/1442713/More articles:Using memcached to store session data, is it safe? - node.jsUpdating your current location on Google Maps using UIWebview on iOS - iosTagsCSS Как Википедия - htmlIPN check error - phpset flags for has_many: by association using Formtastic - formtasticYou must set a default value for a group of stations if it is not verified - javascriptBuilding FFmpeg for Android - androidReverse geocode CLGeocoder from a given location - ios[MATLAB]: How would I mathematically and visually reproduce the 3D surface of the new “Western Hall” of the King of the Cross? - matlablocalized mvc3 application - c #All Articles
CSS Как Википедия - html