Monday, September 15, 2014

Export and Input data from your database

 For this i believe  you know your schema name and passward and your service name .
ok next step.


1. Create a batch file in your desktop ,
like :  Click right buttom of your mouch in desktop , then new text document after that You created a
new text document file in your desktom .
2. then press F2 for rename it just rename > export.bat
3. then  right button click of this file and click edit
and wright this :
suppose your database is on f drive and your schema name is hr and password hr and your service name is orcl then wright  as below:


F:\ORACLE\PRODUCT\10.2.0\db_1\bin\EXP.exe hr/hr@orcl buffer=1048576 grants='n' file='c:\hr.DMP' FULL=Y log=C:\hr.log

in your c drive you see to file one is .dmp and .log file.

ok

Related Posts:

  • Function : A function has a return type in its specification and must return a value specified in that type. … Read More
  • For Loop : Example : In this example used a pakage pkg_mm.prcinsitemstk <<Pakage>> <<Procedure>>  PROCEDURE prc_insitemstk (       p_column_name   IN   VARCHAR2, &n… Read More
  • Sql Query: Count duplicate value 1. SELECT REG_NO, COUNT(REG_NO)  FROM OP_APPOINTMENT WHERE APPOINT_DATE BETWEEN NVL(:P_DT1,APPOINT_DATE) AND NVL(:P_DT2,APPOINT_DATE) GROUP BY REG_NO HAVING ( COUNT(REG_NO) > 1 ) 2. select PO… Read More
  • Read More
  • Procedure : A procedure does not have a return type and should not return any value but it can have a return statement that simply stops its execution and returns to the caller. A procedure is used to return multiple values otherwise it… Read More

2 comments:

  1. Very beautiful and necessary article. But what about importing data ?

    ReplyDelete
  2. Double click in your desktop icon which you created export.bat file
    then data is exporting and create in your desire location c drive which you define
    and create a log file and dmp file.
    ok enjoy.

    ReplyDelete