Is there any script to export the data from first schema, delete the data from second schema and import first schema's data.
Yes, the one you write.