I have a SQL Server 2005 database. I am logging data to a table. I want to prevent the table data from getting too big. 

How can I limit the size of the table to x number of rows, and keep logging? I want the oldest rows to drop off.