|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
how can i extract schema only , using the sqlplus ? and then dump tables (csv, or tab delimited)
ps: i need a comand line tool exp doesn't work (different oracle versions ) and no access to the machine only with oracle cmd line tools .... |
|
#2
|
||||
|
||||
|
You should run the appropriate script, see
Quote:
Which Oracle version are you using?
__________________
My blog Tutorials about OSS databases, DBMonster ... Contribute to OSS Development, fill bug reports! Developer Shed eSupport Commented my.ini/my.cnf (ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Random data (with a bias) |
|
#3
|
||||
|
||||
|
It's oracle 9 tools connecting to 8
|
|
#4
|
||||
|
||||
|
Can you connect to the database server with SSH/Telnet and use the tools there?
|
|
#5
|
||||
|
||||
|
no ssh/telnet access to that server
![]() |
|
#6
|
||||
|
||||
|
Well, extracting the schema seems hard, can't you download and install an Oracle 8 client from which take the utilities?
Exporting to csv files is easy, you can just run this in sqlplus: Code:
spool tablename.csv set termout off set pagesize 0 set heading off set feedback off select field1||','||field2||','|| field3 from tablename; quit TA-DA!!! ORAFAQ comes to help, see http://www.orafaq.com/scripts/sql/mktable.txt Last edited by pabloj : September 27th, 2004 at 05:02 AM. |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > extracting schema only |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|