Skip to main content
0 online
theremin thereminOG 2002

Where can "Schema Manager" be found in 10g? Being the EM is browser based and not a console window. Is there a Schema Mgr in 10g?

What I want to do is find a table in a schema called blah. I have to display the DDL command that created the table using this schema gr method.

But, if there is not a schema manager in 10g (the book seems to have been written for a previous version of Oracle) then can this same task be done a different way, like within SQL Plus?

iwz iwz

have you looked into using Toad?
http://www.toadsoft.com/toad_oracle.htm

theremin thereminOG 2002

Haven't.

theremin thereminOG 2002

I tried doing via command in SQL Plus window this way but doesn't work:

SQL> SELECT DBMS_METADATA.GET_DDL('TABLE', WANT_AD) FROM CLASSMATES;
SELECT DBMS_METADATA.GET_DDL('TABLE', WANT_AD) FROM CLASSMATES
*
ERROR at line 1:
ORA-00942: table or view does not exist

theremin thereminOG 2002

WANT_AD is the table and CLASSMATE is the schema. How do I display the DLL command that created the table?

iwz iwz

no idea

iwz iwz

all i know is in SQL Navigator, you can right click on a table and say Extract DDL

theremin thereminOG 2002

Where's SQL Navigator? Is that even in 10g?

iwz iwz

it's a 3rd party app that we purchased years and years ago

theremin thereminOG 2002

hrm. I was looking for a free solution. A free, simple solution.

that's why i recommended Toad.

theremin thereminOG 2002

okay, I'm in Enterprise Manager browser window. Clicked "Tables" link under "Schema," when the search field came up on the next page, I typed in the Schema box, the appropiate schema name, Click on "Go", clicked the radio button for the table I want.

Now, how do display the DDL command that created the table?

G
gizmoEst. 2006

Why do you need the exact DDL command? What information are you trying to extract?

theremin thereminOG 2002

I don't know. Whatever's there.

Welcome Back to eZabel

It's been a while. Here's what's new.

eZabel Lore

A complete history of our community — stats, Hall of Fame, legendary threads, and more.

View the Lore →

Everything Preserved

All 225,969 pieces of content from 2000–2014 are here — forums, messages, journals, photos, polls, and events.

💎

Gems

Spot something you love — a legendary comment, a classic thread, a great photo? Log in and click the diamond icon to mark it as a Gem. Add a note about why it's special. The best stuff surfaces on the Gems page.