Usually, I use below VBA to create Data Connection with SQL database to extract data through MS Query. And it works perfectly fine.
As defined, SQL_CommandText is a string where you can set your SQL.
However, I get a huge SQL that is around 16,000 rows (40,000 characters). This VBA code...