Which data type should you recommend?

You plan to create a new column in a table. The column must meet the following
requirements:
Be able to store images that are larger than 1 MB each.
Be able to access the images from Microsoft .NET Framework applications.
You need to recommend which data type must be used in the column.
Which data type should you recommend?
More than one answer choice may achieve the goal. Select the BEST answer.

You plan to create a new column in a table. The column must meet the following
requirements:
Be able to store images that are larger than 1 MB each.
Be able to access the images from Microsoft .NET Framework applications.
You need to recommend which data type must be used in the column.
Which data type should you recommend?
More than one answer choice may achieve the goal. Select the BEST answer.

A.
nvarchar

B.
varbinary

C.
image

D.
FileStream



Leave a Reply 4

Your email address will not be published. Required fields are marked *


malakosa

malakosa

To store images filestream should be used, that’s true. BUT filestream is not a datatype.

FILESTREAM storage is implemented as a varbinary(max) column in which the data is stored as BLOBs in the file system.

B is correct – VARBINARY

ryahan

ryahan

FILESTREAM is not a data type; instead, it is an attribute that can be assigned to a VARBINARY (MAX) column. When the FILESTREAM attribute of a VARBINARY (MAX) column is set, it becomes a ‘FILESTREAM enabled’ column