You'd probably have to copy and then delete them. This isn't complete,
but it would be something like this:
declare @tabname varchar(20)
Select @tabname = "RadLogs_" + DATENAME(mm,GETDATE())
Insert Into @tabname
Select * From RadLogs
Where DatePart(Month, LogDate) = DatePart(Month, GetDate())
You could do -1 on the dates to get last month (for example to
schedule this on the 1st of each mont).
--Dale E. Reed Jr. Emerald and RadiusNT__________________________________________IEA Software, Inc. www.iea-software.com
For more information about this list, including removal, pleasesee this URL: http://www.iea-software.com/maillist.html