• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate script

 
rakesh kadulkar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Fatih Keles
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can export these objects.... and import in database at your home PC...
 
rakesh kadulkar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well the question is how
 
Rizvan Asgarov
Ranch Hand
Posts: 462
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
Agador Paloi
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Data pump works well for this too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic