is there a way to execute long sql queries from a ...
# ask-community
r
is there a way to execute long sql queries from a .sql file with sqlalchemy_execute ?
👀 1
k
Looking at the collection, I believe the query can be a .sql file which is read in as text(). This is a great question for the #C048K20H0KZ channel https://github.com/PrefectHQ/prefect-sqlalchemy/blob/6177d46a145f97b6d6da9b1d3036eb3e41f52771/prefect_sqlalchemy/database.py#L50