[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::odbc_rdb_driver

Title:DEC ODBC Driver
Notice:DEC ODBC Driver V2.0 Now Available
Moderator:SQLSRV::MAVRIS
Created:Tue Dec 29 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1357
Total number of notes:4864

1344.0. "Conformance Errors, what are the restrictions?" by QUILL::BASTINE () Mon May 19 1997 13:11

I have a gold customer receiving errors when trying to access a particular
table in Rdb.

He is running Rdb v7.0-01, ODBC 2.10.11

The table in question has over 125 columns with an index that is over 149 bytes
in length.

The error he receives is an "ODBC specification conformance error -7719".

I had him drop the index on the table and they can now access the table.

This brought up a question on what kind of restrictions are there through
ODBC for the length of some objects?  Like how many columns, how many indeces,
how long can the index be???  Is any of this documented anywhere so that I 
can point the customer?  Is it specific to the front end application?  If so,
why the ODBC specification error?

Any help would be appreciated.

Thanks,
Renee
T.RTitleUserPersonal
Name
DateLines
1344.1Little more informationBROKE::BASTINEMon May 19 1997 17:568
I called the customer today... he said that they have more than 50 fields
that make up the index that caused the conformance errors.  Does ODBC have
some limit of how many fields an index can have??  Does SQL/Services???


Thanks,
Renee

1344.2M5::JBALOGHMon May 19 1997 18:019
    How many segments were in the index? What were the data types? Were any
    of these based on date or timestamp fields?
    
    I would guess your customer is using MS Access or VB? I have seen many
    cases where these products return a conformance error when the real
    problem has nothing to do with conformance to the ODBC spec. We are
    probably going to need to chase this down through log files... 
    
    John
1344.3M5::JBALOGHMon May 19 1997 18:038
    re: .1
    
    Sorry, notes collision...
    
    I do not believe ODBC has a limit like this but I would bet the front
    end does...
    
    John
1344.4more informationBROKE::BASTINEMon May 19 1997 23:1815
Customer said the index is made up of mostly text, some integer.

Access has a limit of 10 fields for an index, the customer is using access,
however, the customer has other tables with indeces containing more than
10 fields and access doesn't seem to have a problem with those.

The reason I had him drop the index was the client logs showed this index
showing up over and over and over again... gave us an indication that something
was wrong with it, when we dropped the index, it worked.  I can request a copy
of that log file, but not so sure I'd be able to pick out the problem...

Can I send it to you, John?  :) :)

Thanks!
Renee
1344.5Don't waste your time...M5::JBALOGHTue May 20 1997 12:1414
    If Access is limited to 10 fields in an index and the customer had 50,
    it sounds like you have already solved their problem. I wouldn't waste
    any time reading logs if they are exceeding limits on the front end.
    (MS Access). 
    
    I would also suggest they drop some columns out of the other indexes
    that are exceeding limits. Chances are good that they will get bit by
    these indexes sometime too... 
    
    It is rather interesting that Access was complaining about an ODBC
    conformance error when the problem was really a limit in Access
    itself... 
    
    John
1344.6What do those msa limits apply to???BROKE::BASTINETue May 20 1997 12:417
Do those access limits apply to tables that aren't MSAccess tables, but are
external or imported tables?

I can't help wonder why others work and this one doesn't...  can't help it. :)

Renee

1344.7Access limitation...M5::JBALOGHTue May 20 1997 15:2417
    MS Access requires a unique index on the server table to perform
    certain operations. To get this, it make a native ODBC call
    SQLStatistics. This call returns information about all the indexes in
    the table.
    
    MS Access will just use the first unique index it finds and it only
    looks for indexes when the table is first attached. 
    
    I would suspect the large indexes were added after the table was
    attached or Access just picked up a different index. I would suggest he
    stay within the limits of Access if he wants to use it. This is NOT an
    ODBC or RDB limit...
    
    Does this help?
    
    John
        
1344.8Conformance errors listingataxp1.at.oracle.com::EKREISLEErich KreislerMon May 26 1997 14:348
Just for others running into these conformance errors. UKWWS Support page
http://ww-sup.uk.oracle.com
has a note on the conformance errors and their meaning and here is the one for
-7719 (Search for 'odbc' and '7719'):
-7719   SQLStatistics ==> SQLGetData(COLUMN_NAME)   total length of columns for
index > 255 bytes

erich