I'm trying to adjust width column of tabular generated by \DTLdisplaydb from datatool package like here for tabular environment. But I didn't come up with any solution.
I tried something pretty bad:
\documentclass[10pt,a4paper,landscape]{report}
\usepackage{datatool}
\usepackage[small,compact]{titlesec}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % utf8x causes problem with accents in header columns
\usepackage[frenchb]{babel}
\usepackage[margin=1in]{geometry}
\DTLloaddb{mydb}{db.csv}
\let\oldtabular\tabular
\let\endoldtabular\endtabular
\newcolumntype{M}{>{\begin{varwidth}{8cm}}l<{\end{varwidth}}} %M is for Maximal column
\renewenvironment{tabular}{\tabular[|M|]}{\endtabular}
\begin{document}
\begin{table}\footnotesize
%\begin{minipage}{0.9\textwidth} %Useless here
\DTLdisplaydb{mydb}
%\end{minipage}
\end{table}
\end{document}
I got the following error:
! TeX capacity exceeded, sorry [input stack size=5000].
\tabular ->\tabular
[|M|]
l.67 \DTLdisplaydb{mydb}
Here is a sample DB:
entete,entete,entete,
1,"big string paragraph with a lot of charachter like that. I don't know what to say.. blablablablablablablablablabla... ", "reblabla"
2,"text","text"
Surely, there is another way.

\dtlstringalign,\dtlintalign,\dtlrealalignor\dtlcurrencyaligndepending on the data type of the column. – Nicola Talbot Oct 19 '13 at 16:30\begin{table}\footnotesize \renewcommand*{\dtlstringformat}[1]{\parbox[t][4cm][l]{0.2\textwidth}{#1}} \DTLdisplaydb{mydb} \end{table}Association of\dtlstringformatwith\parbox. – Katsu Oct 19 '13 at 17:06\dtl...aligncommands should affect the width of the cell if they're set to a column type that adjusts the cell width (such as\renewcommand{\dtlstringalign}{p{2in}}or, in your case,\renewcommand{\dtlstringalign}{M}). – Nicola Talbot Oct 19 '13 at 17:15