How to view exp.dmp contents....
Hi All..
How to view only contents of exp.dmp without importing into the user.
Sudhir S.
Use SHOW=Y option, e.g.
$ imp test/test file=test.dmp show=y$ imp help=y (to show options)
Similar Messages
-
How to view the file content from the directory? getting Error:ORA-21560
SQL> create directory READ_LOB_DIR as 'D:\Prj\Comm\Data';
CREATE OR REPLACE Procedure READ_FILE_LOB IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(500);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_seb, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
l_sum := l_end - l_pos - 1;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
The Text file content is...
Copyright 1996,2001 Oracle Corporation. All Rights Reserved
This file contains installation instructions for installing the
Oracle8 ODBC Driver software.
It is divided into four parts:
o Part I: Summary of systems supported by Oracle8 ODBC client
software
Lists the platforms on which the Oracle8 ODBC Client software can
be installed.
o Part II: Oracle8 ODBC Driver software.
Describes the files, and installation prerequisites for the Oracle8
ODBC driver software.
o Part III: Exploding the kit onto your system
Describes how to explode the kit onto your system hard drive.
o Part IV: Installation Instructions
Describes how to install the Oracle8 ODBC driver.
Part I: Systems supported by the Oracle8 client software
You can install the ODBC client software on any of the following systems:
o Windows 2000
o Windows NT X86
o Windows 95
o Windows 98
The Oracle8 ODBC Driver provides support for ODBC connections
from Windows 2000, Windows NT, Windows 95, and Windows 98 systems
to Oracle databases.
o Part II: Oracle8 ODBC Driver software.
Refer to the following files for information about the Oracle8 ODBC Driver:
LICENSE.TXT - Oracle8 ODBC Driver License Agreement. Read carefully
before installing and/or using this product. Enclosed in
your software distribution kit.
SQORA.HLP - A Window's Help file which is the primary reference
manual for the Oracle8 ODBC Driver.
ODBCRelnotes.WRI - The release notes for the Oracle8 ODBC Driver
which contains information which may have not been
included in the Help file.
Installation Prerequisites
See the Oracle8 ODBC Driver release notes (ODBCRelnotes.WRI),
for a complete list of software products required and their versions.
Time Required
The installation of the Oracle8 ODBC Driver takes approximately 5
minutes. The actual time may be shorter or longer, depending upon
your hardware configuration.
Disk Space Required
The Oracle8 ODBC driver installation requires approximately 2
megabytes of available storage space. The space required depends upon
what files you already have installed. The installation procedure
checks to see if you have enough available disk space. If you do not,
the installation fails.
Part III: Exploding the Kit onto your system
Expand the self-extracting archive file onto your hard drive.
C:\> ORA8174.EXE
Part IV: Installation Instructions
Oracle8 ODBC Driver 8.1.7.4.0
This section assumes the following:
1. MS Windows 2000, Windows NT, Windows 95 or Windows 98 is running.
2. Oracle Universal Installer shipping with 8.1.7 has already been
installed on your system.
3. Part III has been completed.
Software fixes:
Refer to release notes (ODBCRelnotes.wri) for a complete list of
Software fixes.
Installation Instructions
Once the self-extracting archive file ORA8174.EXE has been
exploded it will create an installable directory structure
onto your hard drive. Run the Oracle Universal Installer from
your local drive.
1. On the screen "File Locations" use the "Browse" button of
the source path to choose the file 'products.jar' from the
folder that ORA8174.EXE was extracted to. Choose 'Next'.
2. You will receive a warning that some of the dependencies of
this product are not found in the staging area. This warning
is OK. The ODBC driver depends on the Net8 Client being already
installed on the system. Answer 'Yes' to continue.
Oracle is a registered trademark of Oracle Corporation.
Microsoft, MS are registered trademarks of Microsoft Corporation.
Microsoft Windows, Windows NT, Windows 95, Windows 98 and Open Database
Connectivity are trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property
of their respective owners.
The output was...
File testfile.txt in Directory READ_LOB_DIR exists
Copyright
1996,2001
Oracle
Corporation.
All
Rights
Reserved
This
file
contains
installation
instructions
for
installing
the
Oracle8
ODBC
Driver
software.
It
is
divided
into
four
parts:
o
Part
I:
Summary
of
systems
supported
by
Oracle8
ODBC
client
Error:ORA-21560: argument 2 is null, invalid, or out of range
I want to diplay/view as per file content format from the file under that specified directory.
Have any other method / any help or suggestions would be really appreciated.I changed the code like...
CREATE OR REPLACE Procedure READ_FILE_LOB_tmp IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(4000);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
Now its working fine with one addtional line...
The file content is...
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
But The output was...
File testfile.txt in Directory READ_LOB_DIR exists
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
here, i want to delete that additonal line...? -
How to view init.orafile content through sql command prompt
Hi all,
please tell me the solution for this. i want to see all the init.ora parameters in command prompt is there is any special command to view all parameters of init.ora in sql prompt.
and server utilization from sql prompt.
Thank you,Hi
SQL prompt base:
1. show parameter xxx << Mention by Nicolas
2. use v$parameter << mention by sybrand_b
3. use also:
◦V$PARAMETER2 view - display the currently in effect parameter values, but "List Values" are shown in multiple rows
◦V$SPPARAMETER view - display the current contents of the server parameter file.
Source:
http://www.orafaq.com/node/5 <<Viewing Parameters Settings:
OS level
3. Os level cat initxx << mention by me smile
Regard
Helios -
How to view the text/content of a cookie
In older versions of Safari (some version prior to 5.1.2), when you looked at the cookies being stored via the section of the preferences screen...
You could view the entire cookie.
In 5.1.2 you are simply told the site name.
Is there any way to view the cookes themselves?Go to ~/Library/Cookies.
Open the Cookies.plist file.
You will need the Property LIst Editor > http://www.macupdate.com/app/mac/14363/plistedit-pro
If you happen to have XCode installed (developer tools) if you double click the Cookies.plist file, the Properrty LIst Editor will open the files for you. -
How to View Multiprovider contents
Hi,
How to view the MUltiprovider Contents in Bw server itself not in Query.
Regards,
RajHi Raj,
Steps are as follows:
Step1: Log on BW
Step2. type T Code: LISTCUBE
it open " Call Up List Viewer For Data Targets" screen
Step3. in the "Object Type" field choose- Multiprovider by SAP(DMPR)
in the "Data Target" field choose your Multiprovider
and if you want to display SID then check "Display SID" or and other check box are
to choose.
Step 4 Click "Execute" or F8
to view Multiprovider contents
Atul -
Cannot figure out how to view ipod contents on itunes screen??
My kids have the nanos where I could see what had been transferred over and what wasn't. With my 5th generation, I can't figure out how to view it's contents. I get the summary screen and related screens on what to sync with the 7.0 version.
On the left-hand sidebar in iTunes you should be able to see your iPod - icon with name beside it. Underneath it, there should be listings like music, movies, T.V. shows, podcasts, audiobooks. (I guess if there's nothing on the iPod yet there may be none of that) Select one of the items and it will show you the iPods' contents of that particular thing.
-
Sending exp dmp file direct to tape
I am wondering how to send exp dmp file directly to tape, if someone can give me example would help...
10203 on AIX TL07
I am trying to exp my db directly to tape because of its big size, wondering this is right command to do that , i will replace /dev/rmt/0m/ according to our setup...
exp user/password file=/dev/rmt/0m/sid.dmp volsize=50G full=y consistent=y direct=y statistics=none log=/oracle/fullexp.log -
I am participating in an online class whose website uses Microsoft Content Viewer to view the class content. The browser opens a new page, but nothing is there. At the top of the tab it says Microsoft Content Viewer, and nothing else. Can anyone tell me how to view my course using Firefox? I would prefer not to use IE, but it works there.
When originally creating the pdf, you would need to choose another pdf conversion setting. In Word if you use the pdf menu, change your settings there: Adobe PDF > Change Conversion Settings. I would use High Quality Print instead. If you use the File > Print method, click the Properties button next to the Adobe PDF printer selection.
For your already created form, you can change the file so your users will not encounter issues. In Acrobat 9, which hopefully is similar in process to 8: Advanced > Preflight > Profile tab > PDF/A compliance > Remove PDF/A information.(You'll have to unsecure your form first).
You can read about PDF/A files in the Help. -
Hi,
Can anybody help me out on the follwoing questions
how can i view my iphone contents on PC. How can i view my backup data in itunes. How can i see my SMS and contact on PCThe data isn't actually stored in iTunes. iTunes is like a card catalog that allows you to access information from the various places that it's stored on the computer. SMS and contact info will be viewable in whatever program you sync contact information. The backup actually keeps the files, but doesn't make them viewable, I'm pretty sure. You can only see the info you've actually synced.
-
I keep getting this pop up - To view this web content, you need to install the Java Runtime Environment. How do I get rid of it.
Most likely, you have a web plugin that depends on the Java runtime distributed by Apple, such as the Facebook video calling plugin or the "NexDef" plugin for watching baseball streams. If you no longer need the plugin, remove it. Otherwise, install Java.
-
Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?
Hi i am using oracle 10g .How to edit the content of the stored procedure or trigger ?
jklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
after installing lion and updating to pages 4.1 cannot view my document content after I open the document. Shows how many pages I have and how many words in word count, but no words...
Same problem. Tried reinstalling Pages. Didn't help. The behavior is like I am typing with a white font on a white background, but I am not.
-
How to view alerlog contents using SQL?
How to view alertlog contents using SQL?
Hi,
Why don't you use the OEM Database Console ?? Now, in order to view the contents of the alert log file using a SELECT statement, you need to create a external table:
create or replace
directory background_dump_dest_dir
as '<your_oracle_home>/bdump';
CREATE table alert_log_external
(line varchar2(4000) )
ORGANIZATION EXTERNAL
(TYPE oracle_loader
DEFAULT DIRECTORY background_dump_dest_dir
ACCESS PARAMETERS (
RECORDS DELIMITED BY newline
nobadfile
nologfile
nodiscardfile
FIELDS TERMINATED BY '#$~=ui$X'
MISSING FIELD VALUES ARE NULL
(line)
LOCATION ('alert_<sid_of your_database>.log') )
REJECT LIMIT UNLIMITED;Cheers -
OOM PermGen... How to view the content of permgen
I have a pretty big java application running on windows and linux (redhat) using JBoss as the application server.
The application has been running for a long time without issues and now, with the end of a new release of our software, under heavy load, we are running out of perm gen space.
What I would like to see is a tool that lets me view the content of the perm gen space so I can determine why we are using so much memory.
I am aware of jmap -permstat (on linux only) that should let you view some info about permgem but for me, jmap connects to the java process and never comes back. I tried a profiler (jprofiler) and again, I can't find info about what is occupying the permgen memory space.
Can someone suggest tools, or methods to get to the content of the permgen space so I can determine what our issue is?
Here are our startup options; as you can see it has been tuned quite a bit for maximum performance for our usage patterns.
I would appreciate any help chasing down this issue.
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
-Xms8000m
-Xmx8000m
-Xss256k
-XX:PermSize=256m
-XX:MaxPermSize=256m
-Xmaxjitcodesize96m
-XX:+UseParNewGC
-XX:+HandlePromotionFailure
-XX:ParallelGCThreads=16
-XX:GCHeapFreeLimit=10
-XX:NewRatio=3
-XX:SurvivorRatio=2
-XX:InitialSurvivorRatio=2
-XX:MinSurvivorRatio=2
-XX:GCTimeRatio=19
-XX:MaxTenuringThreshold=128
-XX:TargetSurvivorRatio=90
-XX:+ClassUnloading
-XX:ErrorFile=hs_err_<pid>.log
-XX:HeapDumpPath=java_<pid>.hprof
-XX:-HeapDumpOnOutOfMemoryErrorjklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
Is there any step-by-step tutorial on how to program the web content viewer to resize
II'm working on my portfolio site and have couple of DPS projects that I want to post in there and need to know how to modify the web content viewer to adjust for different screen size. Than you.
If you are using an embedded web viewer, this developer network article provides some information on how to resize it:
Resizing the Embedded Web Viewer | Adobe Developer Connection
Thanks,
Brian
Maybe you are looking for
-
Error while deleting Records using ROWID
Hi all I have a small PL/SQL Block which accepts the Table Name as the User Input and deletes duplicate records from that table using ROWID. SET SERVEROUTPUT ON SET VERIFY OFF PROMPT Script to Delete Duplicate Records from a Table using ROWID ACCEPT
-
I am trying to resize a 46 page 13 X 19 Microsoft Word 2007 document to 12 X 18. I saved the document as a PDF in Word, and it turned out fine. I then printed the 13 X 19 PDF in Adobe Acrobat 9 Pro postscript size 12 X 18. In the conversion in Acroba
-
Installation and activation help
Need help installing my existing programs in a new laptopinsta
-
Start Java application at system start up linux/unix
Hi, I am working on a application, which needs to run as a background process in linux/unix without the intervention of the user. Please give me the details procedure how to make it as background process. thanks
-
Hi There, I'm having 150 lines of SQL statements (SQL Server 2000), with 5 parameters, executes in 12 seconds. But when I make a Stored Procedure out of it (with exactly the same 150 lines of code) with 5 input paramentes, the execution take from 5 t