Is there a big technical difference between VARBINARY(MAX) and IMAGE data types?

前端 未结 4 1410
南方客
南方客 2020-12-18 20:19

I was reading on internet these statements about SQL Server data types:

  1. VARBINARY(MAX) - Binary strings with a variable length

4条回答
  •  囚心锁ツ
    2020-12-18 20:51

    They store the same data: this is as far as it goes.

    "image" is deprecated and has a limited set of features and operations that work with it. varbinary(max) can be operated on like shorter varbinary (ditto for text and varchar(max)).

    Do not use image for any new project: just search here for the issues folk have with image and text datatypes because of the limited functionality.

    Examples from SO: One, Two

提交回复
热议问题