Hi @Brinil_John, sorry I don’t have an answer but I do have a question - how did you get NL2SQLTool to populate sql_query? I’ve posted my question in detail and it’s clear that you’ve got it working, albeit with some truncation issues under certain conditions unfortunately…