Data Migration from MS Excel Sheet to Oracle 9i Database
Can anyone please help me to perform a data migration from MS excel sheet to Oracle 9i Database. I have an excel sheet from which i need to move data to the database. One of the columns in the sheet posseses multiple new line characters, and which causes a problem while migrating data with the help of SQL Loader. I would like to know whether any utility is available to migrate data directly from MS Excel sheet to the database, or it would he really helpfull for me , if anyone provide me with an alternate solution.
I think Christian's suggestion will work for easily and quickly.
1) create table link of Oracle target table in MS Office's ACCESS thru ODBC;
2) from Access screen, you may easily dump the excel data into the linked table.
This is very easy and feasible ways. Don't bother to find other ways. The other ways will need you to clear the unwanted carriage return signs first.
Similar Messages
-
Regarding creation of data type from an excel sheet
hi experts,
I am to create a data type which has 2000 fields. details about data type is in excel sheet.
Is there any way i can convert this excel sheet to xsd and impot it in XI
or there is any other way to do it fast.
Or i will have create it manually one by one element.
thanks
JaideepHi,
By default the occurences in the DTD will be Only One Occurrence.
In the DTD you have to delclare the occurences as below and then convert to XSD using XML spy.
Declaring Only One Occurrence of an Element
Declaring Only One Occurrence of an Element
<!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
The example above declares that the child element "message" must occur once, and only once inside the "note" element.
Declaring Minimum One Occurrence of an Element (put + sign after the message)
<!ELEMENT element-name (child-name+)>Example:<!ELEMENT note (message+)>
The + sign in the example above declares that the child element "message" must occur one or more times inside the "note" element.
Declaring Zero or More Occurrences of an Element (put * sign after the message)
<!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
The * sign in the example above declares that the child element "message" can occur zero or more times inside the "note" element.
Declaring Zero or One Occurrences of an Element (put ? sign after the message)
<!ELEMENT element-name (child-name?)>Example:<!ELEMENT note (message?)>
The ? sign in the example above declares that the child element "message" can occur zero or one time inside the "note" element.
http://www.w3schools.com/DTD/dtd_elements.asp
Regards,
Krishnaraju
Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:24 AM
Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:25 AM -
Irec : Data migration from Third party tool to Oracle irec
Currently we are using 3rd party tool for the recruitment procee. Now ee are moving to Oracle Irec.
Already we have huge data in current system for the vacancy (around 500 vacanies) and corresponding applicant applied for the vacancy. How can we migrate the data from current Sql server to Oracle Irec. Any webadi available??
Thanks,
SivaAs my understanding there no seeded webadi is avaiable for same reference.
you can designed conversion program or custom webadi for this purpose. PER_VACANCY_API API will help for Migrating the Data in Oracle.
Thanks -
Upload Journal Voutures of customer master from the Excel sheet using BAPI
Hi experts,
Can U have any sample program so that it can help me for my coding.Hi,
You need write the abap program in the following manner,
1. Read the data from the excel sheet and then enforce the checks if at all any in the new program.
2. Fill all the parameters of the BAPI *BAPI_CASHJOURNALDOC_CREATE *.
3. After the above BAPI call, you need to call another *BAPI_TRANSACTION_COMMIT *.
4. Once Transaction commit bapi is successfully executed then only you will get the document number.
Please follow all the above mentioned steps then you can create the Journal Voutures migrated from an excel sheet to SAP successfully.
Thanks,
Mahesh. -
Unable to load excel sheet into oracle
Can somebody help me...
I just want to load data records from MS Excel spreadsheet into Oracle table without converting that MS Excel file,
my ENV: Linux (centos 5.4 + Oracle EE 11gR2)
here what I did:
-ODBC-Conf on MS
create a system DSN 'odbc_excel' => OK
-Create HS initialization File => OK
cat initexcel.ora
HS_FDS_CONNECT_INFO = odbc_excel
HS_AUTOREGISTER = TRUE
HS_DB_NAME = dg4odbc
-Modify listener.ora => OK
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = excel)
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = dg4odbc)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
-Modify tnsnames.ora: => OK
excel =
(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = DEDUSOBI)(PORT = 1521)))
(CONNECT_DATA = (SID = excel)) (HS = OK)
-lsnrctl reload => OK
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-MAR-2010 13:15:32
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The command completed successfully
-tnsping excel => OK
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-MAR-2010 13:15:09
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = DEDUSOBI)(PORT = 1521))) (CONNECT_DATA = (SID = excel)) (HS = OK))
OK (20 msec)
-create link in ORA => OK
SQL> create database link excel using 'excel';
Database link created.
SQL> select * from dba_db_links where DB_LINK like '%EXCEL%';
OWNER SYSTEM
DB_LINK EXCEL
USERNAME
HOST excel
CREATED 11-Mar-10
-check link => NOK :-(
SQL> select table_name from all_tables@EXCEL;
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from EXCEL
-listener.log
11-MAR-2010 13:33:30 * (CONNECT_DATA=(SID=excel)(CID=(PROGRAM=)(HOST=DEDUSOBI)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp) (HOST=127.0.0.1)(PORT=58093)) * establish * excel * 0
All comments are welcome, thanks
Zeynel
Edited by: seyrekel on Mar 11, 2010 4:07 AMthanks for the respond Werner, that seems to be the most tricky part (ODBC-Conf@Linux)
the driver should be available:
# rpm -qa | grep -i odbc
unixODBC-devel-2.2.11-7.1
unixODBC-2.2.11-7.1
# odbcinst -j
unixODBC 2.2.11
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini
#file /.../dbhome_1/bin/dg4odbc
/.../dg4odbc:
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
for GNU/Linux 2.6.9, dynamically linked (uses shared libs),
for GNU/Linux 2.6.9, not stripped
# odbcinst -s -q
[ODBC]
[AnalyticsWeb]
[Cluster]
[SSL_Sample]
but still the same error message...
thanks
Zeynel -
How to put the data from one excel sheet in another excel sheet
hi ,
I want put the data from one excel sheet in another excel sheet in seq. order Eg: I have one excel sheet in which i have 3 col. Name , Sno. , Email along with data .I want to put data from this sheet to another excel sheet in the following orders of col. Sno,Name, Email .
While loading data in another sheet , i have to perform validation like char field should n't contain numeric values and vice versa .
Let me know on this soon ..
regards
PrashantWell, you can issue separate queries with the ordering you need from each tab in the spreadhseet. You can open an ODBC connection from a VBA macro, select a sheet, run a query, select another sheet and run another query. As for the validation, you can do this in Oracle via stored procedures or again in VBA code.
-
How to populate the Quering data into Excel sheet in Oracle
Dear Guys,
How to populate the Quering data into Excel sheet in oracle.
Please provide a solution.
Thanks & Regards,
Senthil K KumarHi
To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
Here's an example.
Example
<code>
SET LINESIZE 4000
SET VERIFY OFF
SET FEEDBACK OFF
SET PAGESIZE 999
SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
SPOOL c:\test_xls.xls
SELECT object_type
, SUBSTR( object_name, 1, 30 ) object
, created
, last_ddl_time
, status
FROM user_objects
ORDER BY 1, 2
SPOOL OFF
SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
SET LINESIZE 2000 VERIFY ON FEEDBACK ON
</code> -
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 -
Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2G
Dear ALL<
We have a requirement for Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2g. Can you guys please share your experiences with similar activities done in the past ? We do not have environment at present to try out with Oracle Migration workbench.
http://www.oracle.com/technetwork/topics/index-095746.html
You experiece sharing will really help ...!!
Regards,
VKMP
Edited by: 909016 on Jan 31, 2013 5:52 AMHi VKMP,
As well as reading the documentation thoroughly the following note available in My Oracle Support may be useful -
Problem To Migrate Table With Table Type P From DB/AS400 With OMWB (Doc ID 466271.1)
as OMWB does not support migrating physical files.
Regards,
Mike -
Auto Expand Html table when we paster data from Microsoft Excel sheet
hi,
I need copied data to my Html table.
Actual requirement is like that when i copy selected rows with selected columns from Microsoft excel sheet and press "ctlr v" on my jsp page then table on jsp must be auto expand as data in excel sheet.
Take an example.
I copy 4 rows with 3 columns from excel sheet.
I have JSP page with 1 row and 3 columns.
when i press "ctrl v" on first cell of my jsp table then table should be auto expand to accommodate 4 rows of excel sheet.
here i have some of the code which is near to this, this code just copy past only one row, but i need multiple rows.
If need then please refer below code and if possible then give me the solution to auto expand HTML table on JSP
Code to copy paste cell in to HTML Table
<form>
<table>
<tr>
<td><input type="text" name="t1_0" onchange="formatCells(this.value,'t1')"></td>
<td><input type="text" name="t1_1"></td>
<td><input type="text" name="t1_2"></td>
<td><input type="text" name="t1_3"></td>
<td><input type="text" name="t1_4"></td>
</tr>
<tr>
<td><input type="text" name="t2_0" onchange="formatCells(this.value,'t2')"></td>
<td><input type="text" name="t2_1"></td>
<td><input type="text" name="t2_2"></td>
<td><input type="text" name="t2_3"></td>
<td><input type="text" name="t2_4"></td>
</tr>
</table>
</form>
<script type="text/javascript">
function formatCells(xls,group){
var arrGroup = xls.split(/\t/gi);
for(var i=0;i<arrGroup.length;i++){
document.forms[0].elements[group + "_" + i].value = arrGroup;
</script>
Thanks
Chintan PatelHi Ross,
>> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
I suspect it is caused by the difference of web server security settings.
KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
Hope it will help.
By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
Office IT Pro forum or Microsoft Office Community.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Data length problem migrating from sql server 7 to oracle 8i
I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.
Hi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
How to store an excel sheet in oracle database
How can I store excel sheet into oracle.
Or you could use Heterogenous Services to treat Excel as an external database:
1- Go to Control Panel>Administrative Tools>Data Sources (ODBC)>System DSN and create a data source with appropriate driver. Name it EXCL.
2- In %ORACLE_HOME%\Network\Admin\Tnsnames.ora fie add entry:
EXCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.0.24)(PORT = 1521))
(CONNECT_DATA =
(SID = EXCL)
(HS = OK)
Here SID is the name of data source that you have just created.
3- In %ORACLE_HOME%\Network\Admin\Listener.ora file add:
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = <hs_sid>)
(ORACLE_HOME = <oracle home>)
under SID_LIST_LISTENER like:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\ORA9DB)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORA9DB)
(ORACLE_HOME = d:\ORA9DB)
(SID_NAME = ORA9DB)
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = EXCL)
(ORACLE_HOME = D:\ora9db)
Dont forget to reload the listener
c:\> lsnrctl reload
4- In %ORACLE_HOME%\hs\admin create init<HS_SID>.ora. For our sid EXCL we create file initexcl.ora.
In this file set following two parameters:
HS_FDS_CONNECT_INFO = excl
HS_FDS_TRACE_LEVEL = 0
5- Now connect to Oracle database and create database link with following command:
SQL> CREATE DATABASE LINK excl
2 USING 'excl'
3 /
Database link created.
Now you can perform query against this database like you would for any remote database.
SQL> SELECT table_name FROM all_tables@excl;
TABLE_NAME
DEPT
EMP -
Problem with Changing Data while Import through Excel Sheet
Hi Experts,
I am new to SAP LUMIRA and I am facing an issue with it. Actually, I am importing the data for analysis from an Excel sheet into SAP LUMIRA. I am able to prepare the visualization in the first go. But If I am changing the number of columns in the excel sheet afterwards (that may occur in normal circumstances where data is dynamic) and then refreshing the LUMIRA dashboard, it fails. Please can you tell me about a possible mistake or is it really feasible when we change data afterwards and then refresh the dashboards once again.
Looking forward to your answers.
Regards,
AmanWhat is the error message?
Can you confirm you are using 1.15.1? -
Change an Object property based on a value coming from the Excel sheet
hi all
i've been able to bind a value from the excel sheet to my my component
but i want to change a property of an object in my component based on this value at the run time.
during the design time, it works fine
for example, if my value called "_xvisible"
and i use to it to hide some object.
if i set _xvisible during the design time in excel, it works fine in the run mode.
but during the run mode, if the value got changed, there is no affect.
thank you
AmrHi
See the xcelsius samples present inside xcelsius SDK. there are examples describing how to bind data which will work at runtime also.
Hope this helps
Rush-me -
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM
Maybe you are looking for
-
How to check COPA Data in R/3
Hi Experts, There are some entries of COPA posted in BW are incorrect. Business wants to know who has posted these entries in R/3 . Could you please suggest me some transactions codes of R/3 for COPA related data so that I can investigate it. The pro
-
Hi, I'm using REUSE_ALV function module for the ALV display. I want to make a particular field editable in my display. How do I do it, and if I do it will the edited value get updated in my internal table as well. Thanks for the help in advance. Rega
-
hi, To get the TDS certificate in a new format (funvtionality) we have to apply new support package. My system is ECC-6.0 & SPAM/SAINT version is 7.00/0023. So i applied SPAM/SAINT 7.00/0034. & it was succesed & after that when appply Basis
-
Age old questions parallels vs. boot camp
I have heard for a while that bootcamp was better then parallels but now that parallels has revamped its approach does any have any thoughts I will be buying something soon whats your thoughts
-
I'm a bit frustrated with some of the behavior for the jscookmenu. I looked online, but couldn't find any advice on how to override the behavior. What I'm trying to do is alter the javascript functions so that menus pop up on mouse clicks rather than