Data Access and Transactions

Previous Topic Next Topic

Forward-Only Restrictions on Binary Large Objects

The Binary Large Object (BLOB) is a type of data field that contains large blocks of text, or binary data such as graphics, sound, or compiled code. BLOBs can be fetched with a forward-only or “firehose” cursor, but there are some access restrictions on the resulting Recordset.

These restrictions have nothing to do with the underlying table layout—only with the Recordset object. For instance, you could have a BLOB column in the middle of your table definition (with scalar columns to the left and right), but when you execute your SELECT statement, you must select the BLOB column after the scalar columns. The storage engine on SQL Server doesn’t impose limitations on where a BLOB column lies, but it is significant to the ODBC driver.


© 1997-1999 Microsoft Corporation. All rights reserved.