Can we write SQL scripts using chef

Can we write SQL scripts using chef.

I think you’ll want to expand a bit on your use case here, but at a basic level, you could create an ERB template of a SQL script and generate SQL scripts using attributes you feed to the recipe.

thanks