Re: Fill a datalist with names of tables

From: kscdavefl (kscdavefl_at_discussions.microsoft.com)
Date: 08/06/04


Date: Fri, 6 Aug 2004 09:09:02 -0700

Hi again:

I'll give that a try, many thanks

Dave

"Ignacio Machin ( .NET/ C# MVP )" wrote:

> Hi,
>
> Oracle must have listed somewhere the elements of a DB, in SQL it's stored
> in a table named sysobjects , in oracle must exist something similar, you
> can query this table to get your tables names, after that all you have to do
> is build a query to get all the records from the selected table,
> you may have one problem though, as the fields of each table are different
> you may have problem with the second datalist, therefore I think that it's
> best to use a datagrid with autogeneratecolumns set to true.
>
>
> Cheers,
>
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
>
>
> "kscdavefl" <kscdavefl@discussions.microsoft.com> wrote in message
> news:86751BAB-6D75-43B6-8159-A7BD1DC21E0C@microsoft.com...
> > I have 2 datalists on a web form. I want to fill one with the names of
> the
> > tables and the other with the fields in the tables of an Oracle database.
> > Does anyone know the code to make this happen?
> >
> > Thanks,
> >
> > Dave
>
>
>



Relevant Pages

  • Re: SELECT DISTINCT slow, how can I speed up
    ... We have staff using Access 2003 as a front end to the Oracle tables ... for the purposes of ad hoc queries. ... come back within a second of the SQL starting to run. ... only 20-50 rows come back and the query takes 28 seconds and there is ...
    (comp.databases.oracle.server)
  • Re: SQL -> Oracle
    ... > 2- extracted all my SQL queries in one single file (that was the tedious ... > 3- now whenever I need new query. ... > - Sybase and SQL server prefix their parameters with '@' ... > - Firebird and Oracle have selectable stored procedures so you use them ...
    (borland.public.delphi.non-technical)
  • Re: SQL query fails
    ... You can't use the same wild card character in all db engines. ... character" wild card in MS SQL & Oracle is the underline; ... > I have a query that works in Oracle and SQL Server, ...
    (microsoft.public.access.queries)
  • Re: ORA-1866 The datetime class is invalid error...the saga continues!
    ... but you could try using a different data provider. ... Use the Microsoft ADO.NET Oracle Provider ... VB.NET to my employers and not being able to query data using a date field ... SQL statements I provided earlier will execute flawlessly in any enviornment ...
    (microsoft.public.dotnet.general)
  • Re: Linked Table Password
    ... I have a large amount of code that uses dynamic SQL. ... then change the SQL property of the query to match the current dynamic SQL ... >I assume that you are using queries to access the data in the SQL Server ... It is directed for Oracle users, ...
    (microsoft.public.access.security)