The usual approach
Translation without understanding produces broken code. Before SQL Tran touches a single line, the static analysis engine builds a complete map of your database: what references what, what depends on what, and what is already broken in the source.