Exportation of oracle database
I've a problem,
I've an important Oracle DATABASE that I want to export to SAGE. Too many records are in this database, so, it will be very difficult for me to retype all these informations.
Can I get a help?
PS: operating system of Oracle is: WINDOWS NT v 4.0
operating system oe SAGE is: WINDOWS 2000, WINDOWS SERVER 2033
Very thanks for your reply
Yes Sybrand. You are right.
Please go thru' below doc id for reference.
Support Position for Oracle Products Running on VMWare Virtualized Environments [ID 249212.1]
CheeRs
Karthikeyan
Oracle Apps DBA
Similar Messages
-
Exports with Oracle Database Vault
Hi!
I've running a Database in version 10.2.0.4 and it has installed Oracle Database Vault, wich is running quite well...
I'm trying to export a schema that is protected with a REALM and only the owner of that schema has permision to access the data. So, users like sys o system can´t access to the data of the schema. It's the aim of Database Vault and it do it well.
The problem is that I'm performing a export of that schema and it run successfully! I have the .dmp file which I can import in other Databases (with Database Vault no installed) and it runs perfectly!
So... if Database Vault avoid that user sys can access the data, why it permit to perfom EXPORTS??
Thank,
tomBump. Thanks.
-
Export of Oracle Database objects
Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.
Thanks in advance
Regards,
Prasaduser10302855 wrote:
Hi,
I have question on exporting oracle objects.
Can we export all of oracle objects in form of xml file?
Like we have exp command to take the dump of database, is there a way to take db dump in form of xml.
Why xml, because it can be easily read by other languages like Java, plsql, VB and later objects can be created in Database.
Please suggest me a way to achieve the requirement.I am not sure that your requirement is a valid requirement. When you talk about XML, do you think that it can store data like a datafile does? I am not an XML expert but as much as I know about it, it just have tags and you don't want to show your client's credit card number in a text based XML based file under a tag called CreditCard would you? What you can do is that you can get the structure of the table of yours in the XML format using the package dbms_metadata . The data is going to be , at least in my knowledge, would be exported through the export binary and not in XML. Again, I am not an XML expert so I may be wrong too.
Aman.... -
Greetings,
I would like an example of an Enterprise Manager Job that uses an OS Script for MS Windows that would effectively run a datapump export of my Oracle 11g database (11.2.0.3) running on a Windows 2008 server. My OEM OMS is running on a Linux server with an Oracle 12c repository. I'd like to be able to set environment variables for date and time, my export file name (that includes SID, and export date and time, job name, and other information pertinent to the datapump export. Thus far, I have been unsuccessful with using the % delimiter around my variables. Also, I have put the "cmd/c" as the "Interpreter" but I am not getting anywhere in a hurry :-(
Thanks Million!!!
Mike1. Try to reach server with IP )(bypath name resolution)
2. Disabling IPv6 is not good idea
3. What is server operating system and what is workstation operating system?
4. Is this new or persistent problkem?
5. If server and workstation has different SMB version, set higher to lower one (see Petri web for procedure)
6. Uninstall AV with removal tool and test it without AV
7. Use network monitor to diagnose network traffic.
M. -
Export for oracle database 10g for one month
Dear friends,
I want to create new instance for development so i want only limited days of data in new instance say one month.
Can any one please do tell me how to take the export of only one month or limited days from the production database ? as my production database size too big.
please do help me...
ThanksDear friends,
I want to create new instance for development so i
want only limited days of data in new instance say
one month.
Can any one please do tell me how to take the export
of only one month or limited days from the production
database ? as my production database size too big.Check out the query or sample syntax for data pump export. -
Oracle Database Export - 8.1.7.4 on linux
Hello All,
With reference to the below Link.
Oracle Upgrade 8.1.7.4 to 10g in Red hat linux
I am trying to export the oracle database (8.1.7.4) in our landscape using the installation master - system copy. But I am not able to export the database due to the options like (database version 920 and 102) and due to this not able to export the 817 database. But In the sap press books guide they clearly mentioned that its possible to export the database of oracle 817 database. So, I believe I am using the wrong isntallation master.
If anyone having idea about exporting the 817 oracle database, please let me know
Enviornment : 8.1.7.4 database with linux2.4 and SAP R/34.7
Kind Regards
VIjayHello Markus,
Thanks for your reply.
The error as shown below. Our landscape details SAP R/3 4.7 110 , oracle 8.1.7.4 and linux
TRACE [iaxxccntrl.cpp:595]
CController::stepExecuted()
The step generalR3loadParameters with key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|generalR3loadParameters has been executed successfully.
TRACE [iaxxejsexp.cpp:138]
EJS_Installer::writeTraceToLogBook()
loadStrategy = ALPHABETICAL
TRACE [iaxxcdgprc.cpp:588]
CCheckCollectingWalker::processDialogs()
The controller is about to execute the dialog step SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment
ERROR 2009-10-12 19:51:28 [iaxxinscbk.cpp:219]
abortInstallation
CJS-00081 Assertion failed: OraConfigFile.setFilePath: Argument filePath is not valid: '/oracle/DEV/920_32/network/admin/tnsnames.ora'
TRACE [iaxxejsbas.hpp:156]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown exception
ERROR 2009-10-12 19:51:28 [iaxxejsctl.cpp:241]
EJS_ControllerImpl::executeScript()
FJS-00012 Error when executing script.
ERROR 2009-10-12 19:51:28 [iaxxccntrl.cpp:579]
CController::stepExecuted()
FCO-00011 The step diPrepareProgramEnvironment with step key SAPSYSTEM_DBEXP|ind|ind|ind|ind|ind|0|SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseExport|ind|ind|ind|ind|ind|0|DbExport|ind|ind|ind|ind|ind|0|DatabaseLoadForExport|ind|ind|ind|ind|ind|0|DatabaseLoad_Db_Hook|ind|ind|ora|ind|ind|0|diPrepareProgramEnvironment executed with status ERROR.
TRACE [iaxxgenimp.cpp:428]
processUserInput()
got notification...
TRACE [iaxxsubjct.cpp:58]
notify()
releasing notifyLock -
Parser - CSV files to Oracle database
Hello all,
I wrote a csv parser that parse csv files to micorsoft access database. Now I need to parse the dataset to oracle database. This is part of my exporter class
class MdbExporter : IExporter
/// <summary>
/// Exportiert das DataSet in eine Mdb-Datei.
/// </summary>
/// <param name="ds">Zu exportierendes DataSet.</param>
public void Write(DataSet ds, string[] names)
string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + names[0] + ";";
Console.WriteLine("Exporting to database {0} ...", names[0]);
Any ideas how can I do that?
Thanks for any replay in advance.I wrote a parser that goes through several folders containing csv files, reads them and creates a dataset that contains 15 tables ( which I need for an intranet application after that). I succeed to write a MDB exporter that export this dataset to microsoft access database. Now I need an exporter that will export my dataset to ORACLE database. Below is the full code for my MDB exporter:
public void Write(DataSet ds, string[] names)
string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + names[0] + ";";
Console.WriteLine("Exporting to database {0} ...", names[0]);
DbConnection connection = new OleDbConnection(conStr);
try
connection.Open();
catch (DbException e)
ConsoleEx.WriteException(true, e, "Unable to open database: {0}", names[0]);
throw;
DbCommand command = connection.CreateCommand();
foreach (DataTable table in ds.Tables)
Console.WriteLine("\tDeleting table: {0}", table.TableName);
// delete old tables
command.CommandText = string.Format("drop table {0}", table.TableName);
TryExecute(command, false);
// create new
Console.WriteLine("\tCreating new table: {0}", table.TableName);
string[] columnStrings = new string[table.Columns.Count];
for (int i = 0; i < table.Columns.Count; i++)
columnStrings[i] = "`" + table.Columns.ColumnName + "`" + " varchar";
command.CommandText = string.Format("create table {0} ({1})",
table.TableName, string.Join(", \n", columnStrings));
TryExecute(command, true);
// add rows
for (int row = 0; row < table.Rows.Count; row++)
for (int col = 0; col < table.Columns.Count; col++)
columnStrings[col] = "'" + Convert.ToString(table.Rows[row].ItemArray[col]) + "'";
command.CommandText = string.Format("insert into {0} values ({1})",
table.TableName, string.Join(", \n", columnStrings));
TryExecute(command, true);
connection.Close();
I need similar exporter to Oracle database. Starting with SQL LOADER from the beginning its really not a good in my opinion since I am almost done with this approach.
Any help would be appreciated.
Regards,
Sven -
Exporting data from SQL Server database to Oracle database
Hello All,
We need to replicate a table's data of SQL Server database to Oracle database.
Can this task be accomplished using Import/Export wizard or Linked servers?
Can help me regarding which Oracle data access components should i download to do this?
I am using SQL Server 2012.
And i have Oracle 11g release 2 client installed in my system.
Thanks in Advance.
Thanks and Regards, Readers please vote for my posts if the questions i asked are helpful.Yes you can definitely transfer data from SQL server to Oracle Have a look at below links
Export SQL server data to Oracle Using SSIS
Use OLEDB data provider to transfer data from SQL server to Oracle
Using Import Export Wizard
Similar thread
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
How to export the data from an excel file to Oracle database by using macro
Hi,
I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
can anybody please send me the code to create macros?
Thanks in advance.
Regards,
Surendra.VThere are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
~ Madrid -
How to export an XML file from oracle database?
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
thanks in advance,
Bala.
Edited by: user3523292 on Nov 14, 2008 5:43 AMuser3523292 wrote:
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database?
thanks in advance,
Bala.
Edited by: user3523292 on Nov 14, 2008 5:43 AMThis is a forum of volunteers. There is no "urgent" here. Nevertheless, a google search of 'xml oracle export' quickly lead me to this Oracle site:
otn.oracle.com/sample_code/tech/xml/index.html
I also see lots of hits when I search the documentation library at tahiti.oracle.com for 'xml'. This one in particular may be what you are looking for:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_j_xsu.htm#ADXDK070 -
Export an XML file from oracle database
plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database? is it possible..?
thanks in advance,
Bala. is it possible?
Edited by: user3523292 on Nov 14, 2008 5:45 AMHere's the quick and dirty method using SQL*Plus...
SQL> select * from emp where deptno = 10;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
SQL> set markup html on
SQL> select * from emp where deptno = 10;
<br>
<p>
<table border='1' width='90%' align='center' summary='Script output'>
<tr>
<th scope="col">
EMPNO
</th>
<th scope="col">
ENAME
</th>
<th scope="col">
JOB
</th>
<th scope="col">
MGR
</th>
<th scope="col">
HIREDATE
</th>
<th scope="col">
SAL
</th>
<th scope="col">
COMM
</th>
<th scope="col">
DEPTNO
</th>
</tr>
<tr>
<td align="right">
7782
</td>
<td>
CLARK
</td>
<td>
MANAGER
</td>
<td align="right">
7839
</td>
<td>
09-JUN-81
</td>
<td align="right">
2450
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
<tr>
<td align="right">
7839
</td>
<td>
KING
</td>
<td>
PRESIDENT
</td>
<td align="right">
</td>
<td>
17-NOV-81
</td>
<td align="right">
5000
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
<tr>
<td align="right">
7934
</td>
<td>
MILLER
</td>
<td>
CLERK
</td>
<td align="right">
7782
</td>
<td>
23-JAN-82
</td>
<td align="right">
1300
</td>
<td align="right">
</td>
<td align="right">
10
</td>
</tr>
</table>
<p>
SQL>which you can spool to a file. -
Export import - using TOAD FOR ORACLE and ORACLE DATABASE 10G EXPRESS or s
Hi all,
Could you please kindly help me?
I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
Thank you so much for your help!Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
create or replace function dump_csv( p_query in varchar2,
p_separator in varchar2 default ',',
p_dir in varchar2 ,
p_filename in varchar2 )
return number
is
l_output utl_file.file_type;
l_theCursor integer default dbms_sql.open_cursor;
l_columnValue varchar2(2000);
l_status integer;
l_colCnt number default 0;
l_separator varchar2(10) default '';
l_cnt number default 0;
begin
l_output := utl_file.fopen( p_dir, p_filename, 'w' );
dbms_sql.parse( l_theCursor, p_query, dbms_sql.native );
for i in 1 .. 255 loop
begin
dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
l_colCnt := i;
exception
when others then
if ( sqlcode = -1007 ) then exit;
else
raise;
end if;
end;
end loop;
dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
l_status := dbms_sql.execute(l_theCursor);
loop
exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
l_separator := '';
for i in 1 .. l_colCnt loop
dbms_sql.column_value( l_theCursor, i, l_columnValue );
utl_file.put( l_output, l_separator || l_columnValue );
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
l_cnt := l_cnt+1;
end loop;
dbms_sql.close_cursor(l_theCursor);
utl_file.fclose( l_output );
return l_cnt;
end dump_csv;
/Here is the link to this thread in asktom.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059 -
Could I export and import my oracle database via Stored Procedure???
Hi all,
I need to export my database using stored procedure, the stored procedure will be called by java application and it works well
Now I still get the "BIG QUESTION", could I export and import database using stored procedure???
Really thanks for the response.
Regards,
KahlilHi,
I think you can use DBMS_DATAPUMP (10.1+), see [DBMS_DATAPUMP|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_datpmp.htm#i1007277], for examples see [http://www.psoug.org/reference/dbms_datapump.html]
Regards, -
Export database from BerkeleyDB to Oracle Database
Hi,
Within the framework of some projetc, for creating reports, I need to export data from BerkeleyDB to Oracle database.
How can I do it ?Hello,
One way to export data from a Berkeley DB database into an Oracle DB table
is to use the OCI interface on the Oracle DB side and the C API on the Berkeley DB side. If you have access to "My Oracle Support" an example can be found in Note 797537.1.
Thanks,
Sandra -
I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error as follow
8.1.7
SQL> select * from nls_database_parameters where parameter like '%SET%';
PARAMETER VALUE
NLS_CHARACTERSET US7ASCII
NLS_NCHAR_CHARACTERSET US7ASCII
10.2.0
SQL> select * from nls_database_parameters where parameter like '%SET%';
PARAMETER VALUE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_CHARACTERSET WE8MSWIN1252
C:\Documents and Settings\Administrator>imp system/manager file=H:\CGlByte\cglby
te_03-07-2013Wed.dmp fromuser=system touser=cglbyte ignore=y
Import: Release 10.2.0.4.0 - Production on Thu Jul 4 16:11:49 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V08.01.07 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8MSWIN1252 character set (possible charset conversion)
export client uses WE8ISO8859P1 character set (possible charset conversion)
export server uses US7ASCII NCHAR character set (possible ncharset conversion)
Import terminated successfully without warnings.
Pl suggest remedy
Regards,8.1.7
AMERICAN_AMERICA.WE8ISO8859P1
10.2.0
AMERICAN_AMERICA.WE8MSWIN1252
exp system/manager file=d:\cgl.dmp owner=cgl, even i set character set before export but no impact
Maybe you are looking for
-
Hey i just got a copy of windows vista but it won't install. i tried to install it using bootcamp but it asks me to start installing on a existing windows. i don't have any windows installed on my mac book. Do i have to install windows xp before inst
-
SQL query works in the SQLPlus, but fires parse error after being cut and pasted into
One of our client has a SQL query like this: SQL> SELECT LNAME, 2 QUOTA/12, 3 (SELECT SUM(CAMT) FROM CONSULTING WHERE CONSULTANT = P.EMPLOYEE 4 AND ACTIVITYCODE = 'C'AND 5 CDATE BETWEEN '01-JAN-2001' AND '31-JAN-2001') AS SUM, 6 (SELECT SUM(CAMT) FRO
-
How to get reasonable font size with higher screen resolution
I'm using my new Mac Mini as living room PC with 42" plasma screen and tv itself seems to support quite well the 'better' resolutions like 1024x768. Unfortunately then text is too small to read from sofa (which is about 3 meters away from tv). I have
-
Mail Adapter Settings ??
Hi Experts, Please let me know how to use Connection Parameters for Mail Server in the MAIL ADAPTER. 1) Here, What is the URL stands for ? 2) User Name and Password is related to what ? I initailly gave the Company ID and Password, so it worked. But
-
At a time of uploading the file its giving a junk value.
Hi All, I am uploading .DOC file using GUI_UPLOAD function and its giving junk value in the internal table at a time of uploading the file. Is there any alternative or any function which can help me to upload the .DOC file or any scanned file? And i