Is there way I can run certain SQL Scripts based on a results from a SQL Query?My situation:I need to retrieve the current version of the database. Currently this is stored in a table I have created. Based on that result, I need to decide whether o...