Loading
If and While Statement in SQL Server