Tons and tons of books are dedicated to this purpose, and knowing the first 30 moves of a particular opening probably will help you once in a thousand games (if you're that lucky). But if you're still dying for an opening database...
http://www.365chess.com/opening.php
http://www.chessgames.com/perl/explorer
and chess.com has a good one, too, for members.
I've read on Wikipedia that some opening lines go up to move 30 or more, e.g. Grunfield. However, on Wikipedia, they only show the first 12 or so moves. Where does one find the entire opening line?
If someone knows, then can they post the link here?
It would be appreciated.