If i have a PDF file needs to save to a table database. What's data type for its field in MS SQL database?
Hi KatieNgoc,
If you want to save binary data then you need to use VARBINARY as datatype.
If you want to save the path then you need to use NVARCHAR as datatype.
Refer below articles for more details.
For VARBINARY:
For Path:
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.