What is it exactly a BLOB in a DBMS context

前端 未结 7 1861
清歌不尽
清歌不尽 2020-11-30 19:23
  • What is it a BLOB?
  • How can I use it?
  • What are the differences between DBMS\'s BLOBs. I would like to save data using BLOBs into any DBMS and then rea
相关标签:
7条回答
  • 2020-11-30 20:23

    BLOB :

    BLOB (Binary Large Object) is a large object data type in the database system. BLOB could store a large chunk of data, document types and even media files like audio or video files. BLOB fields allocate space only whenever the content in the field is utilized. BLOB allocates spaces in Giga Bytes.

    USAGE OF BLOB :

    You can write a binary large object (BLOB) to a database as either binary or character data, depending on the type of field at your data source. To write a BLOB value to your database, issue the appropriate INSERT or UPDATE statement and pass the BLOB value as an input parameter. If your BLOB is stored as text, such as a SQL Server text field, you can pass the BLOB as a string parameter. If the BLOB is stored in binary format, such as a SQL Server image field, you can pass an array of type byte as a binary parameter.

    A useful link : Storing documents as BLOB in Database - Any disadvantages ?

    0 讨论(0)
提交回复
热议问题