I have 3 column ID , From date and To date.I need to check the date difference between from and to and add a new row based on difference.Example below.How can this be done in sql server
+-----+------------+------------+
| ID | From | To |
+-----+------------+------------+
| 100 | 15/05/2016 | 17/05/2016 |
+-----+------------+------------+
Output that i need
+-----+------------+
| ID | Date |
+-----+------------+
| 100 | 15/05/2016 |
| 100 | 16/05/2016 |
| 100 | 17/05/2016 |
+-----+------------+