Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
database:oracle [2014/01/27 15:36] – [Useful Commands] tmadedatabase:oracle [2015/03/02 11:20] – [Checks] tmade
Line 112: Line 112:
   create or replace directory EXP_DIR as '/opt/oracle/ora_data/custx';                #Create or edit export directory   create or replace directory EXP_DIR as '/opt/oracle/ora_data/custx';                #Create or edit export directory
   create or replace directory DATA_PUMP_DIR as '/opt/oracle/ora_data/custx';          #Create or edit data pump directory   create or replace directory DATA_PUMP_DIR as '/opt/oracle/ora_data/custx';          #Create or edit data pump directory
-  Select username from dba_users;                                                     #To determine der databaseuser/database schema+  select username from dba_users;                                                     #To determine der databaseuser/database schema
      
 ==== Connecting SQL*PLUS with a shell script ==== ==== Connecting SQL*PLUS with a shell script ====
Line 171: Line 171:
      
   sql>set linesize 300                                                                                            #Set linesize (lenght) to 300 (max is 32767)   sql>set linesize 300                                                                                            #Set linesize (lenght) to 300 (max is 32767)
 +  sql>spool /tmp/testfile                                                                                         #Output sql-statement into a file "/tmp/testfile "
 +  sql>spool off                                                                                                   #Swith off output to file
  
database/oracle.txt · Last modified: 2017/12/09 01:19 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki