It would have to be done from a MySQL query preferably from command line on the server to prevent time outs. Otherwise a very customized online script, which as Gizmo pointed out is not available.