How to extract table from oracle in to delimited flat files
Hi i have the following requirement.i tried one dump procedure but i could extract table one by one.i need to do extract on regular basis using plsql procedure.
Data will be extracted from production tables in Oracle into pipe delimited flat files that will be sent by SFTP. The list below represents the tables that will be used for extract along with a notation whether the entire table is extracted or only incremental transactional data.
Table name extraction type No of records
EXPIRE All Records 157 - One Time All Records 17
ACE All Records 7,970
DATA All Records 5,868
MEMBER All Records 24,794,879
MEMBER Incremental & Update 13,893,587 (Initial Load)
MEMBERRED All Records 25,108,606
MEMBERPOINT All Records 42,487,640
MEMBERCOM Incremental & Update 14,337,561 (Initial Load)
MEMBERCODE Incremental Only 14,985,568 (Initial Load)
MEMBERDETAIL Incremental Only 14,341,890 (Initial Load)
MEMBERHISTORY Incremental Only 70,021,067 (Initial Load)
suggest me how can i extract these tables by using plsql procedure.In the above table some table has be extract select list of column.
Saubhik wrote:
This may help you.
Re: Dynamic Fetch on dynamic Sql
Well I was going to post my standard response, but I see I don't have to. ;)
Similar Messages
-
Datas extracted from production tables in Oracle into pipe delimited flat f
Hi
Plz anyone tel me the query how to extract data in oracle into pipe delimited flat files using plsql stored procedure and also do incremental updates.plz tel me its urgenthow to extract data in oracle into pipe delimited flat files using plsql stored procedure You can try utl_file.
and also do incremental updates.This part I don't get. Updates to what? The above file?
plz tel me its urgentWe don't care. -
How to extract data from oracle database directly in to bi7.0 (net weaver)
how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
Thanks
YorkYou can use UDConnect to get from Oracle database in to BW
<b>Data Transfer with UD Connect -</b>
http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
<b>Prerequisites</b>
You have installed the SAP WAS J2EE Engine with BI Java components. You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
Hope it Helps
Chetan
@CP.. -
How to Extract data from Oracle DB to BW via DBConncet interface.
HI All,
Do you know how to extract data from ORACLE data base to BW, using DBConnect.
Here we are not using R/3 Business content structures.
How to do it in both source system and BW side?
How to define structures on both sides.
Please provide any documents on that.
Thanks in Advance.
Sri.Hi Srilaxmi
Have a look at these links
http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a1/89786c3df35c4ea930a994e884bb4c/content.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/80/1a618ae07211d2acb80000e829fbfe/content.htm
and this thread
Extract from Oracle View with DB connect
regards
KR -
Extract tables from "Oracle Apss 11.0.3" and load it to "Oracle Apps 11i"
Hi hussein,
I am tasked to extract the following tables from Oracle Apps 11.0.3 and load it to Oracle Apps 11.5.10.2.
PO_VENDORS
PO_VENDOR_SITES_ALL
Can I use export / import?
Thanks a lotHi,
I believe export/import of individual apps tables is not supported due to objects dependency and refrential integrity.
Regards,
Hussein -
How to Extract Data from Oracle DB ?
hi,
I am trying to Extract Data from Oracle DB using DBconnect. and looks like its not working. Not able to connect to Database.
thanksHi,
Can you please follw the below steps:
If you need to load data from an Oracleu2122 database use DB Connect instead of an ETL Tool
Although limited to full updates, it allows true u201Chands-offu201D automation of data extraction
Is not limited to Oracleu2122 databases, it supports ALL database systems supported by SAP BW
DB Connect can read the remote data dictionary, replicate table and views, and transfer metadata into the SAP BW Meta Data Repository.
1.Begin with your data model
2.Identify which tables provide:
Master Data
Transactional Data
3.Once the model is complete:
Obtain a UID and Password from the DBA
Ensure that table synonyms are not used u2013 they donu2019t work at this point in time (SAP Note # 518241)
Your UID has to have select permissions on the required database objects.
4.In the admin workbench open the modeling tab and select Source Systems
5.In the right pane, right-click on Source Systems and select Createu2026
6. you have to define the type of source system. Select u201CDatabase Systemu201D
7.Enter a description for the source system
8.Once you accept the definition of the source system, you have to provide the following information, save and back out:
DBMS: ORA (Oracle)
User Name: Your UID
DB password: Your pwd
Conn. Info: sql*net string
Select u201CPermanent connectionu201D if this is the case
9.If everything went well, you should see the new source system. When you do a right-click and ask for the DataSource overview, the first time you execute it you will be prompted to generate the application hierarchy. Answer yes to the prompt and then you will be able to see the DataSource tree.
10.In order to test connectivity, right-click on the source system and select u201CSelect Database Tablesu201D
11.Click on the execute button.
12.Next shows up displaying any tables or views that you have access through your UID
13.Select a table or view and click on u201CEdit DataSourceu201D.
14.To test data retrieval, click on u201CDisplay table contentsu201D
15.Designate the application component, determine the type of DataSource (Text, Master data, or Transaction data) then generate the DataSource.
16.For each applicable table/view generate the repeat steps 13 to 15.
17.From there, assign the DataSource to each target (InfoObject, InfoProvider) as usual.
Moving from Dev to QA to Prod:
18.Before transporting all you configuration work, you will have to manually set up the source system (Steps 4 to 8) in your QA or Prod
19.Depending on your authorization settings in Production, you may need to implement a system restore. Work with BASIS if you need to, donu2019t do it on your own!
20.Then transport your InfoObjects, InfoProviders, Update Rules, Transfer Rules, InfoPackages, etc.
21.If you developed the process chains, transport them separately.
22.Try to maximize throughput by using parallel processing of master data
23.Ensure the right sequence for transactional data loads is followe.
24.Combine the master data loads and the transactional data loads in a master process chain.
It can be help full.
Regards, -
How to extract data from Oracle Table to an Oracle XMLtype field
All,
I'm very new with ODI and I'm looking for a way to implement the following scenario:
I have the Oracle table A, already mapped to Data Model A. This table has the following fields:
field X (PK)
field Y
field Z
field W
I have a table B, already mapped to Data Model B. This table has the following fields:
field X (PK)
field V (XMLType)
I want to extract the data from Table A to a XML file with the following structure:
<X> yada yada yada </X>
<Y> yada yada yada </Y>
<Z> yada yada yada </Z>
<W> yada yada yada </W>
and then insert this file into the field V of Table B. How can I do that?
TIA,
RodrigoYou can use UDConnect to get from Oracle database in to BW
<b>Data Transfer with UD Connect -</b>
http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
<b>Prerequisites</b>
You have installed the SAP WAS J2EE Engine with BI Java components. You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
Hope it Helps
Chetan
@CP.. -
How to extract data from Oracle system
Hello,
I have a project to load data from an external Oracle system. (I familiar with loading data from SAP source systems).
Can anybody explain to me what is the procedure to load data directly from Oracle or to send me some links and explanations about this issue?
Best regards,
AtiehMohamad
Please check this if you have not done already
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
Also check this thread already experts answered for this question
how create a db connection between oracle and bw
Thnaks
Sat
Message was edited by: Sat -
How to extract image from oracle database and display at html page
Could you help me how to make the image to display. i manage to extract the data but the data is in Blob so i need to convert it so make it display at html page.
Thanks for ur reply Mr.Rajasekhar
I tried as u said,
i tried without converting to sql date ,but still i din't get any results
java.text.SimpleDateFormat dateFormat=new java.text.SimpleDateFormat("dd/MM/yyyy");
java.util.Date fromDate=dateFormat.parse(startDate);
java.util.Date tillDate=dateFormat.parse(endDate);
String query1="select MTName,Date,MTLineCount from linecountdetails where mtname='"+MTName+"' and Date >='"+fromDate+"' and Date <='"+tillDate+"' " ;
System.out.println(query1);
//From main method
databaseConnection("prasu","1/12/2005","31/12/2005");I got the output as
---------- java ----------
select MTName,Date,MTLineCount from linecountdetails where mtname='prasu' and Date >='Thu Dec 01 00:00:00 GMT+05:30 2005' and Date <='Sat Dec 31 00:00:00 GMT+05:30 2005'
java.lang.NullPointerException
null
null
java.lang.NullPointerException
Output completed (4 sec consumed) - Normal TerminationThanks
Prasanna.B -
How to find tables from database having no partition
Hello Sir,
How to find tables from oracle database having no partitions?
Thank you.
-Mal@SB,
SQL> SELECT OWNER, TABLE_NAME FROM DBA_TABLES
2 MINUS
3 SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS;
SELECT OWNER, TABLE_NAME FROM DBA_TAB_PARTITIONS
ERROR at line 3:
ORA-00904: "OWNER": invalid identifier@OP,
select table_name,partitioned from dba_tables where partitioned='YES';
select table_name,partitioned from dba_tables where partitioned='NO';
Regards
Girish Sharma
Edited by: Girish Sharma on Jul 1, 2011 9:27 AM -
Save an oracle package to a flat file
Hallo,
how can I save an oracle package to a flat file?
Best Regards
WernerHere is a script you can use. You may need to change the references to dba_source to user_source or all_source depending on your access privileges.
set termout off
store set sqlplus.cfg replace
column pkg_spec new_value pkg_spec noprint
column pkg_body new_value pkg_body noprint
set pagesize 0
set linesize 10000
set trimspool on
set echo off
set verify off
set feedback off
set timing off
set recsep off
set termout on
accept pkg prompt 'Package name: '
accept owner prompt 'Owner: '
set termout off
select lower('&&pkg') || '_spec.sql' pkg_spec,
lower('&&pkg') || '_body.sql' pkg_body from dual;
spool &pkg_spec
select 'create or replace' from dual;
select text from dba_source
where owner = upper('&&owner')
and name = upper('&&pkg')
and type = 'PACKAGE'
order by line;
select '/' || chr(10) || 'sho err' from dual;
spool off
spool &pkg_body
select 'create or replace' from dual;
select text from dba_source
where owner = upper('&&owner')
and name = upper('&&pkg')
and type = 'PACKAGE BODY'
order by line;
select '/' || chr(10) || 'sho err' from dual;
spool off
@sqlplus.cfg
set termout on -
How can i extract data from oracle table to flat file or excel spread shee
Hello,
DB Version is 10.1.0.3.0
How can i extract data from oracle table to flat file or excel spread sheet by using sub programs?
Regards,
DHere what I did
SET NEWPAGE 0
SET SPACE 0
SET LINESIZE 80
SET PAGESIZE 0
SET ECHO OFF
SET FEEDBACK OFF
SET VERIFY OFF
SET HEADING OFF
SET MARKUP HTML OFF SPOOL OFF
Sql> SPOOL bing
select * from -------;
SPOOL OFF;
I do not see file.
I also tried
Sql> SPOOL /tmp/bing
select * from -------;
SPOOL OFF;
But still not seeing the fie, -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
How to extract data from table in PDF document
Can somebody let me know that how to read tables from a PDF document as I need to process this data further and I want it to be saved as a database.
Google around; you might find a couple of sourceforge project.
Rich.
Maybe you are looking for
-
Am having issues with optical audio on my new Apple TV. Here's the setup: - New Apple TV - Sanyo PLV-Z7000 Projector (no audio-out on it) - Link - Yamaha RX-397 Receiver (RCA inputs on the back) - Link - Digital Coax & Optical Toslink to Analog Audio
-
Project Templates with Enterprise Resources
I'm using Project Server 2013 ( latets updates installed for both Client and Server) I've created a project template and attached this to a project type. My template has enterprise resources speciified. So far so good. Now I'm trying to create a proj
-
ABAP Debugger-Is it possible to NOT execute a statement?
Hello all, In ABAP debugger, is it possible to NOT execute a statement? This will allow testing programs without having to change, generate and transporting the new version. Thank you for your help. AG
-
I am not able to download my excisting music from my account. What do I do to get me music on my new Shuffle?
-
i've searched previous posts about assignments but did not find answer for my question... this is taken from JLS... on Compound Assignment Operator ======== First, the left-hand operand is evaluated to produce a variable. If this evaluation completes