Skip to main content

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

 

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.


Hi Thomas,

Thanks Thomas, this is what I am looking for.

Regards,

Arthur


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