Print Thread
List of databases, list of columns
#32282 03/19/03 03:21 PM
Joined: Mar 2003
Posts: 20
Germany
Member
OP Offline
Member
Joined: Mar 2003
Posts: 20
Germany
Hi, I'm new with SQL and Query Reporter and would like to know, if there's a way to get a list of databases and a list of columns/databases?

Someone able to help?

------------------
--
Rgds,
Norbert


Regards,
Norbert
Re: List of databases, list of columns
#32283 03/19/03 11:53 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
In the Query Reporter's SQL Window you can invoke the Query Builder (toolbar button) to build a query from a list of tables/views, columns and foreign key relations. Is this what you need?

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: List of databases, list of columns
#32284 03/20/03 11:53 AM
Joined: Mar 2003
Posts: 20
Germany
Member
OP Offline
Member
Joined: Mar 2003
Posts: 20
Germany
Hi,

no, it's not really what I'm looking for. I'm more looking for an SQL report with a listing of all databases and a listing with fieldnames/databases. I'm not sure, that this is possible, but maybe.

Additionally, how can I suppress deleted records?

[quote]Originally posted by mkalter:
In the Query Reporter's SQL Window you can invoke the Query Builder (toolbar button) to build a query from a list of tables/views, columns and foreign key relations. Is this what you need?

[/quote]


Regards,
Norbert
Re: List of databases, list of columns
#32285 03/20/03 08:48 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
What exactly do you mean by fieldnames/databases?

What do you mean by deleted records? The Query Reporter never displays deleted records (they're gone!).

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: List of databases, list of columns
#32286 03/21/03 11:58 AM
Joined: Mar 2003
Posts: 20
Germany
Member
OP Offline
Member
Joined: Mar 2003
Posts: 20
Germany
I would like to have a list like:
Header: Database name
Records: Database1 (Customers)
Database2 (Orders) ...

and a second list like:
Header: Fieldname Database
Records: CUSTNO CUSTOMERS
CUSTNO ORDERS
NAME1 CUSTOMERS
NAME1 SUPPLIERS

so that I can see which fields are in which database.

[quote]Originally posted by mkalter:
What exactly do you mean by fieldnames/databases?

What do you mean by deleted records? The Query Reporter never displays deleted records (they're gone!).

[/quote]


Regards,
Norbert
Re: List of databases, list of columns
#32287 03/21/03 09:20 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
You cannot run a report accross multiple databases. In a speficic database you can list all tables and columns though, by querying the all_tables and all_tab_columns views.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.137s Queries: 13 (0.065s) Memory: 2.5162 MB (Peak: 3.0378 MB) Data Comp: Off Server Time: 2024-05-05 20:57:28 UTC
Valid HTML 5 and Valid CSS