• Member for 6 years, 8 months
  • Last seen this week
Finding integer database columns that may have their data type changed to reduce size
5 votes

The following stored procedure will help identify those columns. It starts by creating a temporary table that stores the minimum and maximum values that each integer type can hold and then runs a ...

View answer