LaTeX longtable

I found a solution for generating a table over some pages with LaTeX.
You need the files:
example.csv
example.tex


And here ist the tex-code:

\documentclass{scrartcl}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\PrerenderUnicode{ö,ä,ü,ß,Ö,Ä,Ü}
\usepackage[ngerman]{babel}
\usepackage[automark]{scrpage2}
\pagestyle{scrheadings}
\usepackage{csvsimple}
\usepackage{longtable}

\begin{document}
\csvstyle{myTableStyle}{longtable=|l|c|c|p{6cm}|,%
table head=\hline \bfseries Nr & \bfseries Stat & \bfseries Date & \bfseries Text%
\\\hline\hline,%
late after line=\\\hline,%
head to column names}

\csvreader[myTableStyle]%
{example.csv}%
{}%
{\Nr & \Stat & \Date & \Text}
\end{document}

You can find the resulting pdf here.