I have 2 tables that have the same structure. What I want to do is combine TableA with TableB to show the following:
TableA
TableB
I would like to see the following returned by a SP
Is this possible (easily)?
Any help would be appreciated.
Thanks
Jonathan
TableA
Code:
BedNo Time1 Time2 Time3 Time4
1 1 1
2 1 2 2
3 3 4
TableB
Code:
BedNo Time1 Time2 Time3 Time4
1 3 9
2 6
3 6 3 4
I would like to see the following returned by a SP
Code:
BedNo Time1 Time2 Time3 Time4
1 3 1 1 9
2 1 6 2 2
3 6 3 3 4
Is this possible (easily)?
Any help would be appreciated.
Thanks
Jonathan