Transact SQL – Create Object with different Structure based on runtime decisions

Background Based on the version of SQL Server being targeted one might need to create a slightly different table structure. Here is the original code that fails. And, slight variations. Implementation Original Code Output Revised ( Add Go Statement ) Premise: We add a go to ensure object is in fact created. Code Revised ( … Continue reading Transact SQL – Create Object with different Structure based on runtime decisions