Season 2 Episode 22 - Out of Mind (1)
Awakening from cryogenic suspension, O'Neill finds himself in a futuristic version of the SGC. Doctors hook O'Neill to a device which turns his memories into holographs then question him for information about races able to defeat the Goa'uld.