Hi @MJK ,
Could you please share a bit more about your error message?
Based on the issue that you mentioned, I think this an known limit in SQL Server connector -- The result set schema after executing SQL queries and stored procedures should contain unique non-empty column names. Please check the following known limits in SQL Server connector:
https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations
I agree with @mogulman52 's thought almost. You should make sure your SQL Query or SQL Stored procedure return one record at least, so that, the "Execute a SQL Query" action or the "Execute stored procedure" action would not raise an error.
Please also check and see if the following article would help in your scenario:
https://community.adobe.com/t5/coldfusion/sql-add-blank-row-to-result/td-p/772119?page=1
Modify your SQL Query as below:
select Column1, Column2, Column3 from [dbo].[SQLTable]
UNION ALL
select '' as Column1, '' as Column2, '' as Column3
Within your canvas app, you could filter out this blank record using Filter function as below (set the Items property of the Gallery) :
Filter(CollectionTable, !IsBlank(Column1) && !IsBlank(Column2) && !IsBlank(Column3))
Note: The empty record added in your SQL Query result would affect the data retrieved from your flow into your canvas app.
Best regards,