473,408 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

need some notes about sql loder

Hi,
i want to know what is sql loader and how is work, and how to export full database and import it again .plz send me the snytex. waiting fro reply asap.
from
sona
Sep 15 '06 #1
3 2367
Hi,

The sql*loader is a utility you load the text,csv data into you oracle database.

The Ex :

emp.ctl (control file)

options(direct=true)
load data
infile 'd:\utl_dir\emp2.txt'
badfile 'd:\utl_dir\emp.bad'
discardfile 'd:\utl_dir\emp.dsc'
into table emp
fields terminated by "|"
trailing nullcols
(empno,ename..,...)

from dosprompt : sqlldr scott/tiger control=emp.ctl

It will insert the data from emp2.txt file to oracle emp table.

For exporting the oracle database :

exp userid=system/manager@orcl file=c:\backup.dmp log=c:\backup.log full=y rows=y owner=scott;

It will export the scott schema objects into backup.dmp file.

For more gothrough the export utility


For Import :

imp userid=system/manager@orcl fromuser=scott touser=scott file=c:\backup.dmp log=c:\backup.log

It will import the data from backup.dmp to oralce database.

Thanks,

Mohan Reddy G



Hi,
i want to know what is sql loader and how is work, and how to export full database and import it again .plz send me the snytex. waiting fro reply asap.
from
sona
Sep 15 '06 #2
[quote=goudelly]Hi,

Hi, mohanji
Thanks for your help. it really help me in my ocp exams

from
sona
Sep 17 '06 #3
http://www.oreilly.com/catalog/orsqlloader/chapter/ch01.html#43545

go to this u will find good description

rams
Jan 24 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Crew Reynolds | last post by:
I want to create a dictionary of note on/off timings and access it by the name of the object. The following code works for one row. a = "Hammer1" b = notes = {a:b} print notes >>> 45
3
by: NewmanBT | last post by:
As you can see from the code below, several textboxes will be dynamically created and each will be tied to an org. The ChangeComment function should allow for an update to the database whenever...
2
by: cm500 | last post by:
I'm very new to databases so bear with me. What I need is a way to track the training for the employees at my firm. I have 40 classes that I will be teaching on various subjects and various...
20
by: Stephan Golux | last post by:
It seems I have run afoul of an unfixable and acknowledged bug in my beloved access 97 which has no workaround other than to upgrade. Current supported upgrades are 2002 and 2003. 2003 appears...
2
by: pemigh | last post by:
Client's fingers have been well trained on another application to wrap lines by hitting shift-enter, and wants the same in Access application. Changing "enter key behavior" for controls is not...
2
by: James Fifth | last post by:
Hello and God Bless, I am stumped trying to get a simple xml database replacing certain data with other data programmatically. This is what my xml looks like. ...
4
by: ConfusedMay | last post by:
Hi, I have a form with a text box called notes(using memo field type, since it'll be more than 255 field size), so users can enter whatever notes or complaints for a specific products. The problem...
3
by: Dave | last post by:
Hello, I have a pop-up form that is used to enter data on a form that is already open. My difficulty is that any of several forms might call this same pop-up, meaning that I need to store the...
5
by: alf8kitty | last post by:
Hello, I have a form that allows a user to submit notes in a textarea. <td><textarea name="Notes" value="" ROWS=3 COLS=35></textarea></td> The notes get sent to the MySQL database correctly...
2
by: shinerankin | last post by:
Hi Guys & Gals: I have a project with using flash that is updated with an xml file. The developer went belly up and is no longer assisting with anything. I need to write a simple html or php form...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.