Hi Mrutyunjay
exp utility also allows to export a particular table in a schema instead of whole database, or you can also export particular rows with help of parameter file as, for example:
--contents of par file customer.par
userid=scott/tiger
file=customer.dmp
log=customer.log
Tables=(scott.customer, scott.customer_address)
QUERRT="where cust_id IN('A01, B02')"
If the name of the par file is customer.par, execute it as
exp parfile=customer.par
This is just an example, tailor it according to your need.
If you want to write a sql file with insert statements, you have to run a querry like this, first
spool c:/file_name.sql --it will create a sql file
select 'insert into
test values(' || empno ||')' from scott.emp
--this is just an example ,
you should modify it according to your specific needs
HIH,