Open an Oracle .dmp file from excel 2007 - oracle

I have an oracle .dmp file which I would like to open from excel 2007. How do I use the 'get external data' feature to do so? Is it possible in the first place?

It's not possible, no.
Assuming the .dmp file was produced by the Oracle export utility, that is a proprietary, undocumented binary file. Only Oracle's import utility would be able to read it. The import utility can dump the DDL statements for the structure(s) in the dump file to a flat file but if you want to look at the data, you'd need to import that data into an Oracle database.

Related

problem with extracting data from oracle buckup dbf files

I have dbf files from my client oracle database. Their admin said that is buckup of database. I am trying to opening those files in different editors like open office, excel, dbf manager and others, but it cannot be done because during this action it always says file has incorrect format, or file has incorrect header.
I read a little and it seems that was wrong backup of database or something. I have 7 dbf files and none of them works.
I just want to open those files and make import to csv/excel to export it to new system with sql database

Import data from multiple excel files-Oracle PL-SQL

I wish to import data from excel into oracle table.
But my requirement is I Have multiple excel files and each file contains multiple sheets.
But all have the same structure.
Please let me know the suitable way to perform the same.
Can UTL_FILE utitlity be used to perform this extraction.
I don't know how to do it directly from Excel.
Actually, I do, but manually, using TOAD's "Import table data" option. I also don't know what technique stands behind the scene, can only guess:
- it is first temporarily saved as CSV and then loaded
- Excel files are XML so TOAD manipulates such a data
How would I automate it?
save each worksheet into its own CSV file
manual job for me as well. Maybe someone - who knows Excel far better - can write a VBA script or something like that. On the other hand, maybe it is possible to use such a script to directly insert data into an Oracle table ... no idea, sorry
write a SQL Loader control file
load file-by-file, reusing the same control file
how to automate that? Use SQL Loader command line DATA parameter.
how to change it dynamically? Create a wrapper script (on MS Windows, that would be a .BAT script) which would - in a loop - iterate over all those CSV files and feed SQL Loader with new data in every iteration
SQL Loader+s advantage over UTL_FILE (you mentioned) is that
it works locally (on your own PC; you have to install it, of course (if you don't have it already). It comes along with any Oracle database (even XE, Express Edition), or is contained in Oracle Client software under its Utilities), while
for UTL_FILE you have to speak to your DBA in order to get access to the directory (usually located on the database server) which would be then used by the named package.

How to load EBCDIC file into relational tables ( Oracle, SQL Server etc.) using Informatica Power Center

I have a mainframe source file in EBCDIC format. I need to load it in Oracle database . We also have Informatica Power Center and SSIS ETL tools.
What is the easiest way to load it in relational tables using or without using above tools? How to decode this file?
Note- when I open this file, I see all weird symbols ( this is a text file but in EBCDIC format so I can not understand any of the data in this file). It's a sequential file and I also have a Cobol Layout file along with it.

Load Oracle .dmp files into Hive

I'd like to use Oracle .dmp files as a source for Hive tables.
I have found SerDe that could be used: oracle.hadoop.hive.datapump.DPSerDe
Is it availiable for free? Where can I download it from?
There is almost no information about it... (https://community.cloudera.com/t5/Support-Questions/External-Hive-table-for-the-oracle-dmp-file/td-p/59874)

Command line tool/script to script out all Oracle 10g packages/procedures/functions etc.?

I'd like to be able to automatically save the DDL scripts from my development schema on a regular basis.
You can use the datapump to generate DDL statements.
expdp schemaname/password reuse_dumpfiles=y include=directory full=y content='METADATA_ONLY' directory=data_pump_dir dumpfile=ddl_scripts.dmp
DDL is code, you should use source control to archive any code.
See also those questions (among others) on SO for some example:
Should you store your SQL Stored Procedures in Source Control?
Source Control and stored procedures
Maintaining stored procedures in source control

Resources