Execute is for running stored procedures, it won't let you run a Select statement. you would need to run
Code:
execute sp_executesql @sql