Boletín de AInvest
Titulares diarios de acciones y criptomonedas, gratis en tu bandeja de entrada
A Python script has been developed to connect to SAP Datasphere, run queries on each view from a list, and save the results as Excel files in a local drive path. The script requires the hdbcli, sqlalchemy, and sqlalchemy-hana packages to be installed. A database user must be created in SAP Datasphere with read access, and the host, port, username, and password must be copied. The script then loops through each view in the view list, executes the SQL query, fetches the results, and converts them to a DataFrame, which is then saved as an Excel file.

Titulares diarios de acciones y criptomonedas, gratis en tu bandeja de entrada
Comentarios
Aún no hay comentarios