> about TOP is that you can't set it dynamically, as is TOP @maxrows. To do
> this, use the SET ROWCOUNT @maxrows. Just be sure that after your SQL
> statement you do SET ROWCOUNT 0 to reset it.

actually thats not the same. SET ROWCOUNT will stop processing when
@MAXROWS is reached, it ignores ORDER BYs. a TOP will order first
then truncate the resultset.

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to