Nuacht

In this SQL file, I created a new column named bin_col to create bins for a histogram. If the bin value is greater than max_value or less than min_value, they will be replaced accordingly.
Changing the column name is not a trivial operation especially if the column is referenced in Views, Stored Procedures etc. To execute the rename of a column, there is the sp_rename system Stored ...