Solved

CRecordset::GetFieldValue on Oracle's Long Column

Posted on 1998-05-04
1
305 Views
Last Modified: 2013-11-19
My program downloads data from a remote Oracle database server via the ODBC.  It works fine for all other
datatype except for Oracle's "LONG" datatype...  By looking at the data, this field can be as long as 3-4
paragraphs.  So my problem is everytime GetFieldValue hits this field, it throws an exception.  The exception is
"Invalid string or buffer length."  
Anybody know what's going on??  Any suggestion is appreciated..
0
Comment
Question by:blade74
1 Comment
 

Accepted Solution

by:
bobplace earned 50 total points
ID: 1307126
This is probably a long binary, so you are trying to put one kind of data into a diferent format.  See if changing the data type doesn't help you.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seveā€¦
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now