Continue header of a long table in next page [duplicate]

Possible Duplicate:
How to repeat top rows (column headings) on every page

I have a long table that spans multiple pages. I would like the header of the table to repeat at the top of every new page that is spanned by the table.

How can I achieve that?

-

marked as duplicate by Jake, Scott H., barbara beeton, Thorsten, Stephan LehmkeNov 27 '12 at 20:26

longtable along with command \endhead solves the problem.