title: How can we create a VIEW in transaction with other queries?
body: <p>I have a query generator, I need to check existence of a view and recreate it. In addition I want to create a table before of view creation. How can I do these works in a transaction.</p>
  
  <p>note: create view must be the first statement in a batch.</p>