Sponsored Content
Full Discussion: Oracle 10g tables dumps
Top Forums Programming Oracle 10g tables dumps Post 302604547 by Hokem Malarkey on Monday 5th of March 2012 10:12:22 AM
Old 03-05-2012
It would be easier for me just to point you to the documentation but I don't have enough posts to stick a URL in here...

Basically for what you want to accomplish it would be easier for you to create a parameter file and use the QUERY keyword to filter the data. You will also need to create a directory object within Oracle (which requires the CREATE ANY DIRECTORY privilege or a role allowing you to do it) and grant read,write to the user doing the export. So...

SQL> create or replace directory exp_dir as '<path to directory>';
SQL> grant read,write on directory expdir to test_man; --assuming this user didn't create it

The contents of the parameter file would look something like this (you can call it whatever you want):

TABLES=test_man.test_tbl,test_man.test_tbl_02 -- comma separated list of tables
DUMPFILE=test_dmp.dmp
QUERY=test_man.test_tbl:"WHERE T_ROW1 >1",test_man.test_tbl_02:"WHERE owner !='SYS'" -- table_name:"WHERE CLAUSE",table_name:"WHERE CLAUSE",...


Whatever user you use to call the data pump export will need create table permissions as the data pump job needs to create a temp master table.

To execute from the command line you would do:

testuser@test>expdp username/password directory=exp_dir parfile=<path to paramter file>

Hope this helps. Let me know if you need some clarification.
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

oracle 10g

I have download Oracle 10g for Solaris and I have configurate environment than I will start runInstaller and I have a messege that my version of solaris is not 5.7 , 5.8 and 5,9 I have 5.10 Solaris version what I shoud do I have download most actuall Oracle databases. (4 Replies)
Discussion started by: Deux
4 Replies

2. Red Hat

Help installing Oracle 9i/10g on RedHat?

If anybody can help would be greatly appreciated... I get the same error with Oracle 9i & 10g when installing on Red Hat Fedora 4, it's java related... Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-03-16_01-09PM/jre/lib/i386/libawt.so: connat restore segment... (0 Replies)
Discussion started by: Joncamp
0 Replies

3. AIX

oracle 10g on AIX 5

hi can anyone help me by telling step by stem oracle10g installation in AIX 5 . Munir mondolsoft Bangladesh (3 Replies)
Discussion started by: dbamunir
3 Replies

4. Solaris

Installing oracle 10g on solaris

Thanks all for your help. Now here is another problem i have, i have been trying to install oracle 10g on solaris but i keep getting this error message "there is not enough memory on the volume you specify to copy the starter database files the oracle universal installer discover that you have... (8 Replies)
Discussion started by: mutiat
8 Replies

5. Solaris

How can i install oracle 10g on x86

Please guide me to install oracle 10g in x86 machine running solaris10. I tried the method that is distributed with the Oracle cd, but i finds it to be too complicated for me to complete. Please help. (2 Replies)
Discussion started by: Sesha
2 Replies

6. AIX

Oracle 10g on AIX7

Hi, anyone know if Oracle Database 10g is AIX 7 certified??? thanks in advance. Regards. Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies

7. Solaris

need help in oracle upgrade from 10g to 11g

Hi , situation has come where in i want to upgrade my database from 10g to 11g ,my code heavily depends on Pro*C , i just want to know if i upgrade my DB from 10g to 11g , will there be any changes in my pro*c compiler ..? if so then wat are the prerequisites i need to check ..? thanks ... (2 Replies)
Discussion started by: senkerth
2 Replies
DBIx::Class::Storage::DBI::Oracle::WhereJoins(3pm)	User Contributed Perl Documentation	DBIx::Class::Storage::DBI::Oracle::WhereJoins(3pm)

NAME
DBIx::Class::Storage::DBI::Oracle::WhereJoins - Oracle joins in WHERE syntax support (instead of ANSI). PURPOSE
This module is used with Oracle < 9.0 due to lack of support for standard ANSI join syntax. SYNOPSIS
DBIx::Class should automagically detect Oracle and use this module with no work from you. DESCRIPTION
This class implements Oracle's WhereJoin support. Instead of: SELECT x FROM y JOIN z ON y.id = z.id It will write: SELECT x FROM y, z WHERE y.id = z.id It should properly support left joins, and right joins. Full outer joins are not possible due to the fact that Oracle requires the entire query be written to union the results of a left and right join, and by the time this module is called to create the where query and table definition part of the SQL query, it's already too late. METHODS
See DBIx::Class::SQLMaker::OracleJoins for implementation details. BUGS
Does not support full outer joins. Probably lots more. SEE ALSO
DBIx::Class::SQLMaker DBIx::Class::SQLMaker::OracleJoins DBIx::Class::Storage::DBI::Oracle::Generic DBIx::Class AUTHOR
Justin Wheeler "<jwheeler@datademons.com>" CONTRIBUTORS
David Jack Olrik "<djo@cpan.org>" LICENSE
This module is licensed under the same terms as Perl itself. perl v5.14.2 2011-05-10 DBIx::Class::Storage::DBI::Oracle::WhereJoins(3pm)
All times are GMT -4. The time now is 06:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy