This is doable with SQL but the administrative domain also has to be dealt with along with subfolder object identifiers.
It moved, but onetime I did this, one part stayed behind in old container, didn't investigate it.
If I had to choose, I would do this with java.
Sent from my Verizon Wireless BlackBerry