Dravid coming out to open again
Has a batsman every batted for the entirety of 2 innings before?
Searching suggests it's not been done in international cricket:
Batsmen have also carried their bats twice in the same match (ie. through both of his team's innings) but this has only occurred on 6 occasions. A further 4 batsman have carried the bat in one innings and been last out in the other. None of these instances was in a Test match, but West Indian Desmond Haynes was last out in both innings in a Test, the only such instance in first-class cricket.[citation needed]
Source
The list for one innings in Test matches:
http://stats.espncricinfo.com/ci/content/records/283149.html
The list for one innings ODIs:
http://stats.espncricinfo.com/ci/content/records/283150.html