hi all.

i am developing a database application with sqlserver2000 where users
can enter search strings manually.
So it is possible that the result gets really big, to big for a website.
is it possible to restrict a datatable to a defined number of rows, or
bytes?
or maybe there is s.th. in t-sql?

thangs for help.
daniel

Re: restrict size of datatable by Earl

Earl
Mon Oct 25 07:44:59 CDT 2004

Use either SELECT TOP and/or SET ROWCOUNT in SQL2K.

"Daniel" <daniel.maier@zdv.uni-tuebingen.de> wrote in message
news:clib01$k6h$1@newsserv.zdv.uni-tuebingen.de...
> hi all.
>
> i am developing a database application with sqlserver2000 where users can
> enter search strings manually.
> So it is possible that the result gets really big, to big for a website.
> is it possible to restrict a datatable to a defined number of rows, or
> bytes?
> or maybe there is s.th. in t-sql?
>
> thangs for help.
> daniel