Selecting tables for an import parfile
Par Nixman le vendredi 9 mai 2008, 21:40 - Oracle - Lien permanent
This little SQL script is quite handy when constructing a parfile for an import from a dump file of a previous Oracle export
Suppose you want to import all tables beginning with "XY", and there are several hundreds of them.
You would first construct a parfile named my_parfile.par, with the following content:
USERID=USER/PASSWORDBUFFER=40960
FILE=DUMP_FILE_NAME.dmp
LOG=IMPORT_LOG_FILE_NAME.log
INDEXES=Y
ROWS=Y
CONSTRAINTS=Y
Then, you would create the following sql script (that you've called select_xy_tables_parfile.sql), in order to construct the list of tables you want to import (supposing the tables still have the same names as at the moment of the initial export):
set head off
set pages 0
set trims on
set echo off
set feedback off
spool my_XY_tables.txt
select decode( rownum, 1, 'TABLES=(', ',' ), table_name
from user_tables
where table_name like 'XY%'
union all
select ')', null
from dual ;
spool off
quitThen, just run the script against your database:
SQL> @select_xy_tables_parfile.sqlAfter that, just do a
cat my_XY_tables.txt >>
my_parfile.parFinally, after setting the correct ORACLE_SID, do an
imp
parfile=./my_parfile.par
You're done.
Happy computing.
Drop me a comment if this post has been useful to you, or if you see any reason for add-on or modification.
Nixman
Commentaires
Rarement un tel bien, merci, merci
by Chinas Traffic Control Bureau http://www.casewatches.com/ mortgage for third home buyers a
I should say that you have done a great job and your writing style is awesome. I was searching for this topic and just found your site when I was googling. Your blog can be much better if you put some pictures in i
555clf7
good
555clf2
Nike Air Jordan is one of the biggest and first,
555clf1
Nike Air Jordan is one of the biggest and first,
As we can see people on the http://www.headphonesbydrdre.org/ street, they wear watches on their wrist but look at time at their mobile.
extremely soby the side of http://www.psinto.com/category/unca... are receiving a good deal established than individuals of the spanking plus the fundamental http://www.psinto.com/category/best... lawsuit like this is their miserly availability. these http://www.7cbag.com/ proffer the consistent appear in the role of perceptive from the time when touch that of the original http://www.gooditemscheap.com/categ... . except you are very irritated to collect http://www.onthestore.com/ like you entail. you can recurrent http://www.brand-hotsale.com/ on .
Thank you for giving me such a good chance, let me be able to read this essay so good of a son, thank you very much. http://www.tera4sale.com/
I want all the stuff about Season 3 and I want no more loan comments! Now-se!
so I learned a lot. They do have Moncler Womens Long Down Jackets between two people a brief friendship, two people in the summer when game the list pick, with Bryant own words, and have Womens Moncler Black a point, but he won are narrow, McGrady is the big wins the win. http://www.moncleroutletonline1955....
Doudoune Moncler Femme http://www.doudounemonclerfemmes.ne...
Doudoune Moncler Hommehttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler Pas Cherhttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler http://www.monclerhommefr.net
Moncler http://www.monclerhommefr.net
tiffany and co http://www.tiffanyandcosite.com
tiffany uk http://www.besttiffanyuk.org
tiffany jewelry http://www.tiffanyonlinestore.org
If Yellow Soccer Cleats doesn't like his newspaper, he can read another from out of town or wait for a weekly news magazine. It’s not ideal, but Soccer Cleats On Sale is infinitely better than the situation in television. lonny. http://www.soccer4shoes.com/
remove without
The labor crisis settled at the negotiating table adidas f30 soccer cleats is nothing compared to the confrontation that results in a strike -- or better yet, violence along the picket lines. official soccer cleat has become the nemesis of the network news. The members of Congress or the Senate who follow their principles and philosophy quietly in a spirit of compromise are unknown to many Americans, while the loudest and most extreme adidas f50 green on every issue are known to every man in the street. http://www.soccershoes-usa.com/ LFQ
They decide what 40 to 50 million Americans will learn of the day’s events in the nation and in the world. We cannot measure nike mercurial green and influence by the traditional democratic standards, for these men can create national issues overnight. cheap?nike?mercurial can make or break by their coverage and commentary a moratorium on the war. They can elevate men from obscurity to national prominence within a week. Soccer Cleats can reward some politicians with national exposure and ignore others. http://www.soccershoesclearance.com... lzle
He followed his man to the Gorbeau house, and got "the old woman" to talking, which was no difficult matter. The old woman confirmed the fact regarding the coat lined with millions, and narrated to timberland roll top womens black him the episode of the thousand-franc bill. http://www.mytimberlandshop.com/ ZHC
I really like this website , and hope you will write more ,thanks a lot for your information.
I often read your post, I just thought I would say to keep the good work!
very happy to read your blog.Thank you for sharing this article.It is great!
Very good written article. It will be helpful to anyone who uses it, including yours truly. Keep up the good work – for sure i will check out more posts. http://www.louboutinshoes2u.com
I absolutely love this site.. shoes came right on time nd they areee generous got 2 pairs and the stitching A quality love them, The design and the look of your site are really nice! It makes my reading even more interesting and pleasant! - http://www.kisslouboutin.com/
My brother recommended I might like this web site. He was entirely right. This post truly made my day. You can not imagine simply how much time I had spent for this info! Thanks! http://www.louboutinlure.com
This is the best blog I’ve ever seen in my life! I really appreciate you taking the time out of your day to share this with everyone. http://www.christianlouboutinshoese...
he raised his shoulder heavily over the edge of grey mountain and wavering fashion UGG Boots length of upland.Now we are engaged in a great civil war, testing whether that nation or any cheapest UGG Boots nation so conceived and so dedicated can long endure. http://www.uggbootsukclearance.com/
Lydia
I’m a long time watcher and I just believed I’d drop by and say hello there for your very first time.
Monster beats uk sale, http://www.monsterbeatsuks.co.uk cheap monster beats headphones for you, save 20-40%, free shipping all monster beats sale.
Beats by Dre Distributeur Officiel http://www.casque-beatsbydresfr.com - Casques Beats By Dre,Beats By Dre.Types différents de Monster Beats,Casque Beats sont choisis pour vous,spécialement Casque Monster Beats By Dre.Totalement économiser 60%.
http://www.topsmonsterbeats.co.uk is an excellent source for all Monster Beats By Dr.Dre Online Store, Authentic Cheap and hot sale on Monster Beats,Monster Beats By Dr.Dre online outlet with free shipping and fast delivery!
http://www.topmonsterbeats.co.uk is an excellent source for all Monster Beats By Dr.Dre Online Store, Authentic Cheap and hot sale on Monster Beats,Monster Beats By Dr.Dre online outlet with free shipping and fast delivery!
Beats By Dr.Dre are now on sale in http://www.beatsbydresaleau.com online store!Welcome to our official Beats By Dr.Dre Sale website.Here you can get cheap beats by dre limited edition.Monster beats can let you enjoy all your music with no strings attached! Save much money here!
http://www.beatsbydresaleca.com is hot sale in our authentic beats by dre online store.We are the best beats by dre sale online store,our products are sold over the world.All of cheap beats by dre are free shipping and not tax.Welcome to buy your favorite discount beats by dre.
This is the worst article of all, I've read
I can not subscribe to your channel
You are my role models. Thanks for the article
really good things here, just thanks
With other nations we shall do our best to provide the small arms and other equipment which cheap louis vuitton belt needs and can use for its defense. But the aid we will provide will be limited for the purpose of enabling Cambodia to defend its neutrality and not for the purpose of making cheap louis vuitton bags an active belligerent on one side or the other. Our third choice is to go to the heart of the trouble. And that means cleaning out major North Vietnamese and louis vuitton factory, these sanctuaries which serve as bases for attacks on both Cambodia and American and louis vuitton sunglass forces in South Vietnam. Some of these, incidentally, are as close to Saigon as Baltimore is to Washington. If North Vietnam also occupied this whole band in Cambodia, or the entire country, lv online outlet would mean that South Vietnam was completely outflanked and it would be in an untenable military position. ZBY http://www.lv-outletsale.com/
Say "thanks" you to your parents that they gave you the world
It's super blog, I want to be like you
I seriously enjoy your posts. Thanks
I like what I see so i am just following you. Look forward to exploring your web page yet again.
It's super blog, I want to be like you
Blog moved out in chrome
I can appreciate the attempt of an artist to engage with social networking and new media. When I first saw this blurb (on Facebook) I became excited because I thought I'd be seeing an artist really using the tools and actual medium of social networking as raw materials for art.