How To Use AppendChunk and GetChunk with NText Columns in a SQL Server CE Database (280514)
The information in this article applies to:
- Microsoft SQL Server 2000 Windows CE Edition
This article was previously published under Q280514 SUMMARY
This article contains a code sample that uses the the Microsoft ActiveX Data Objects for Windows CE (ADOCE) 3.1 AppendChunk and GetChunk methods against NText columns in a SQL Server CE database.
The code sample illustrates the creation of a sample database and table with an NText column and then adds a record to the table. The ADOCE AppendChunk method is then used to populate an NText column. Finally, the sample retrieves a portion of the data from the column by using the GetChunk method and displays the data in a message box.
REFERENCES
ActiveX Data Objects for Windows CE Books Online; topics: "AppendChunk"; "GetChunk"
The SQL Server CE OLE DB Provider supports ISequentialStream and ILockBytes to allow access to long-value data in pieces. For C++ examples, see the SQL Server CE Books Online topic: "Using Rowsets Efficiently".
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB280514 |
---|
|