Skip to main content
Solved

Query on local TX repository (V20.10.45)

  • 3 July 2024
  • 3 replies
  • 35 views

Dear Sir,

I am looking for a sql query on my local sql repository to create a list of all my datasources in my projects.
I am using v20.10.45.

Thanks in advance.

Regards,

Arthur

 

3 replies

Userlevel 6
Badge +5

Hi @avanrijn 

The data sources are stored in its namesake in the repository.

Of course only Business Unit data sources.

To find the project a data source is stored in, you can locate the BusinessUnits table.

 

To find the projects there is a table called projects where you can find this info.

 

So all you need are some joins to relate DataSources to BusinessUnits that relates to Projects and you will have all the info you need.

Badge

Hi Thomas,

Thanks Thomas, this is what I am looking for.

Regards,

Arthur

Userlevel 3

If global databases are used then don't forget the globaldatabaes table. And note the validTo field: 99999999 means it's a current record.

Reply