Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Posts
    3

    Unanswered: Invalid Descriptor Index

    I am getting an "Invalid Descriptor Index" Error in an MFC/C++ application that I am porting to DB2. I have done a lot of research and cannot figure out what is causing the problem other than it is occurring with an SQLExtendedFetch in the SQL log file by doing a trace through ODBC. I have found some stuff saying it can be caused by using large data types or columns that use large data types and their order in a SELECT statement. The only other thing I can think of is that my Recordset has integer datatypes for the fields in the DB2 table that are signed decimal but have 0 decimal places. Any light anyone can shed on the subject would be really helpful. Not to be lazy but changing the integers in my application will be a lot of work and it is something I do not want to embark on unless I know it may be causing the problem.

  2. #2
    Join Date
    Jul 2003
    Posts
    3

    Re: Invalid Descriptor Index

    Just to clarify, I am not using any large datatypes so the possible cause I found in doing some research is not an issue here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •