maxlength of CS_TEXT_TYPE - 2GB?
Erik Bryn <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm new to interfacing with FreeTDS in C. While attempting to fetch text, using ct-lib, from MSSQL 2008. I'm seeing the maxlength of the field is 2GB, which is obviously too large to malloc. What's the best practice for reading in data of unknown length? Thanks, - Erik