-1

If someone has granted me select privileges on objects in their schema, how can I export their objects (such as tables and sequences) and data using SQL Developer?

I have tried using the the Data Export wizard but that only lets me export my own objects and data. Is there a way to export from someone else's schema instead?

Alex Poole
  • 183,384
  • 11
  • 179
  • 318
Eduardo
  • 99
  • 2
  • 11

1 Answers1

4

You can export other users' object from the Tools->Database Export wizard.

After you have chosen the connection, whether to include DDL and/or data, and which types to export you get a dialog to specify the objects to export.

enter image description here

If you click the More button you can then choose the schema (i.e. owner; your colleague in this case), and can search for objects in that schema that you want to include in the export.

Alex Poole
  • 183,384
  • 11
  • 179
  • 318
  • I ran into the same problem, this really helped. – Annie C Jul 11 '19 at 18:05
  • Important: Even though you can select objects in this view, it doesn't mean that they will get exported. SQL Developer will silently fail for objects where your user needs the SELECT_CATALOG_ROLE: https://stackoverflow.com/questions/26026068/dbms-metadata-get-ddl-not-working. Really bad UX in my opinion. – Dzeri96 Mar 27 '23 at 08:06