JustATheory
IS-IT--Management
Greetings,
I’m working with SQL Server 2008 and need to know if there is a way to populate a field with the value from the same field in the previous record? In the table below I need to populate the empty fields with the value in the previous records:
Record 2 would also be SQL,
Records 4 &5 would be SQL2
Record 7 would be SQL3
Example
11111 SQL
11112
11113 SQL2
11114
11115
11116 SQL3
11117
Any help is greatly appreciated!
Thanks,
JustATheory
I’m working with SQL Server 2008 and need to know if there is a way to populate a field with the value from the same field in the previous record? In the table below I need to populate the empty fields with the value in the previous records:
Record 2 would also be SQL,
Records 4 &5 would be SQL2
Record 7 would be SQL3
Example
11111 SQL
11112
11113 SQL2
11114
11115
11116 SQL3
11117
Any help is greatly appreciated!
Thanks,
JustATheory