Using LangChain Agents to connect to Azure SQL database to generate SQL queries and Result

Hello everyone,

I am working on a use case where I am trying to use LangChain Agents to generate SQL queries and ultimately result when user asks question about data.
The quantitative data resides in the Azure SQL database and I am able to connect to it. (Checked the connection by querying an existing table).
But when I am trying to specify table in SQLDatabase.from_uri, I face error of include_tables {‘XXXX’} not found in database.
Here is the code:
db = SQLDatabase.from_uri(
This occurs even if the view is existing in the database.

Kindly suggest if anyone has faced similar issue.