| Author |
generate script
|
rakesh kadulkar
Ranch Hand
Joined: Jul 24, 2008
Posts: 115
|
|
Hi,
I have some set of tables in my oracle 9i login.
I want to take those tables to my home in the script so how can i generate a script from the existing table.
Thanks
|
Rakesh Kadulkar
|
 |
Fatih Keles
Ranch Hand
Joined: Sep 01, 2005
Posts: 182
|
|
Hi rakesh,
Almost any sql tool has the capability of extracting ddl from tables. You can use sql developer or toad to obtain generate table scripts. But if the number of tables is high then you should use oracle exp tool (standalone executable that exports data and ddl from database to be used with import tool) or built-in dbms_metadata.get_ddl function. There may be other third party tools or pl/sql ides that can handle this situation that I can not name them now.
Regards,
Fatih.
|
 |
Vinod Tiwari
Ranch Hand
Joined: Feb 06, 2008
Posts: 458
|
|
|
You can export these objects.... and import in database at your home PC...
|
Vinod Tiwari | Twitter
|
 |
rakesh kadulkar
Ranch Hand
Joined: Jul 24, 2008
Posts: 115
|
|
|
well the question is how
|
 |
Rizvan Asgarov
Ranch Hand
Joined: Jan 07, 2009
Posts: 443
|
|
rakesh kankavlikar wrote: well the question is how
You can do it in easily by using the "Toad for Oracle" tool as follows:
Hope this helps,
|
"Half of the science is to ask question"
|
 |
Agador Paloi
Ranch Hand
Joined: Jan 24, 2006
Posts: 116
|
|
|
Data pump works well for this too.
|
 |
 |
|
|
subject: generate script
|
|
|