Is there a way to create a BAQ from its SQL code?

No but it’s been discussed. Go vote for the idea of you think someone should try and find a way.

2 Likes