Re: Oracle ADO provider does not retrun information for OpenSchema / adSchemaIndexes

From: Val Mazur (group51a_at_hotmail.com)
Date: 05/15/04

  • Next message: Val Mazur: "Re: Connection Timeout on a SQLDataAdapter."
    Date: Fri, 14 May 2004 23:29:10 -0400
    
    

    Hi Steve,

    If OpenSchema method does not return this information, then it means that
    provider does not return it as well. Not sure how Oracle built, but I
    believe it should have some sort of system tables, which keep this
    information. You could query them directly

    -- 
    Val Mazur
    Microsoft MVP
    "Steve W" <lsl@btconnect.com.no_spam> wrote in message 
    news:%23fn1zEROEHA.1348@TK2MSFTNGP12.phx.gbl...
    > Hi,
    >
    > I an using the Oracle ADO provider to connect to an Oracle database.
    >
    > I use OpenSchema to get back information back about the tables and columns
    > within the database - e.g.
    >   Set rst = oConnection.OpenSchema(adSchemaTables, Array(Empty, Empty,
    > Empty, "table") and
    >   Set rstColumns = oConnection.OpenSchema(adSchemaColumns, Array(Empty,
    > sSchemaName, sTableName))
    >
    > But when I try to get index information back via
    >    Set rstKeys = oConnection.OpenSchema(adSchemaIndexes, Array(Empty,
    > sSchemaName, Empty, Empty, sTableName))
    >
    > I always get back an empty recordset.
    >
    >
    > Does anyone know if it's possible to get this information ?
    >
    > TIA
    >
    > Steve
    >
    > 
    

  • Next message: Val Mazur: "Re: Connection Timeout on a SQLDataAdapter."

    Relevant Pages

    • Re: DataSet.IndexDefs dont exist?
      ... > Try using OpenSchema method ... Your suggestion works fine on MS SQL Server, but fails on Oracle 9i ... "object or provider is not capable of performing requested operation" ... It fails on the OpenSchema line. ...
      (borland.public.delphi.database.ado)
    • (SUMMARY) Filesystem --- "ls -l" total reporting incorrect file sizes - ADVFS
      ... that our version of oracle allocates space in it's temp files. ... Thomas" provided this nugget of knowledge from the Oracle ... space for a tempfile not allocated in the filesystem ... so the log is marked as empty. ...
      (Tru64-UNIX-Managers)
    • Re: nslookup from behing router/modem
      ... I can still access the e-World from my Debian box: ... The empty 'search' list looks wrong. ... correct nameservers but an empty search string... ... # 0dns-up sets up /etc/resolv.conf for the provider being connected to. ...
      (Debian-User)
    • Re: WAY OT: Windoze admin help needed
      ... you need to empty you email box things are bouncing ... (I leave email on the server for ... my new provider doesn't allow attachments larger than about 1 ...
      (rec.motorcycles.dirt)
    • Problem with OpenSchema
      ... in a SQLServer database using the OpenSchema method. ... I don't really know where those constraints are defined, ... OpenSchema(adSchemaTables, Array(Empty, Empty, Empty, "TABLE")) ...
      (borland.public.delphi.database.ado)