Loading BLOB / CLOB data from oracle source to oracle target
Hello Friends,
Source and Taret DB are Oracle 11g.
I am havnig CLOB and BLOB source columns and I am linking these links to CLOB/BLOB cloumns of Target .
but the image of source ( BLOB ) is not got loaded and when I tried to view the Image - It shows *'IMAGE COULD NOT BE DECODED FROM BINARY STREAM '.*
For BLOB Coulmn - the is what i am using for target - NVL(WRK_IMAGE.IMAGE_DATA, EMPTY_BLOB())
For CLOB Column - NVL(WRK_CALLOUT_V.CALLOUT.getClobVal(), EMPTY_CLOB()) -
For CLOB i don't have any issue - but for BLOB I could not able to see the blob image .
Appreciate if you can let me know where the issue is .
thanks/kumar
try with some other image. if issue exists then open the raw form of the image and check the header.
Similar Messages
-
Transform data from multiple sources to single target in bpel 10.13.1.0
Hi,
I need to transform data from mulitple sources to single target schema.
Please any one can give some idea.
Regards
janardhanWe are gone a other way merge multiple information into one target.
First we have created a wrapper variable with the structure of the target variable that we want use in the transformation.
With a assign element we filled the wrapper variable with information from the inputvariable of the bpel process and some addtional information.
Then we called in the transformation the wrapper variable as source and the target variable as target.
We have used that way in some bpel process and it works for us.
Within Oracle SOA Suite 11g, there is the mediator component that does simply routing
and transformation functionality within a composite (SCA).
That's all, I hope that help.
Michael -
Data From Infocube(Source) to Infocube(Target)
Hai ,
Please can some tell me how to populate data from Infocube to Infocube.Iam working on BW 3.5.
I have created one infocube and loaded data into it and then right clicked on first infocube and said export datasource.I am able to see in BW source system the data source.Now i have created second cube and i want to populate data from 1st cube.
Please tell me the procedure.I will allocate points to all of u.Thanks in advance.
Bye
MadhuHi,
what are the navigational steps in loading data from cube to cube?
3.X
how to copy the one cube to onether cube
7
Create transformation btn cubes.
Create DTP and run it.
Loading data from one cube to another cube.
Cube to cube data loading
how to upload data from cube to cube
Can we pull data from one cube to another cube
Data Load Steps:
Reading data from another cube
Thanks,
JituK -
Open Hub - Data from multiple sources to single target
Hello,
I am using Open Hub to send the data from SAP BI to Flat files. I have a requirement where I want to create a single destination from multiple sources. In other words in BI we have different tables for attributes and text. I would like to combine the data from attributes and text into a single file. For eg. I want to have material attributes and text in the same single file as output.
Is this possible in Open Hub? If yes could you please help me to understand the process.
Thanks,
KKHi,
1. Create the Info Spoke and activate it
2. Change it and go to transformation
3. Check the box InfoSpoke with Transf. Using BAdI
4. You are asked if you want to generate the spoke. Say yes & Simply set some texts and activate here, then return.
5. You can now change the target structure. Simply create a Z structure with all the attributs & text field in it in the SE11 and enter it here.
6. Double click on BAdI implementation & then double click again on "TRANSFORM" method of the implementation. It will take you to method
"IF_EX_OPENHUB_TRANSFORM~TRANSFORM"
7. Write a code to select & fill the text field & map other filed with the attribute fields.
Example:
ZEMPLOYEE_ATTR_STRU - Target Structure for InfoSpoke EMPLOYEE_ATTR
EMPLOYEE /BI0/OIEMPLOYEE NUMC 8 0 Employee
DATETO /BI0/OIDATETO DATS 8 0 Valid to
DATEFROM /BI0/OIDATEFROM DATS 8 0 Valid from
COMP_CODE /BI0/OICOMP_CODE CHAR 4 0 Company code
CO_MST_AR /BI0/OICO_MST_AR CHAR 4 0 Controlling Area of Master Cost Center
HRPOSITION /BI0/OIHRPOSITION NUMC 8 0 Position
MAST_CCTR /BI0/OIMAST_CCTR CHAR 10 0 Master Cost Center
TXTMD RSTXTMD CHAR 40 0 Medium description
Note: Text and attribute are in same structure. -
ORA-22275 :invalid LOB locator specified error while loading BLOBs/CLOBS.
Hello All,
I am trying to load BLOB/CLOB data from a client oracle DB to the oracle db on our side,we are using ODI version 10.1.3.5.6,which reportedly has the issue of loading BLOB/CLOBS solved.I am using
The extraction fails in the loading stage when inserting data into the C$ table with the following error.
"22275:99999 :java.sql.BatchUpdateException:ORA-22275:Invalid LOB locator specified".
Kindly let me know how I can resolve this issue as the requirement to load this data is very urgent.
Thanks,
JohnOne alternate way can be done out of ODI as ODI is still not able to resolve this issue. You can trim these fields (CLOB/BLOB) and push this data as separate fields into ODI and at the reporting end you can again concatenate them.
May be this may solve your problem ....it solved mine.
--XAT -
Loading data from .csv file into Oracle Table
Hi,
I have a requirement where I need to populate data from .csv file into oracle table.
Is there any mechanism so that i can follow the same?
Any help will be fruitful.
Thanks and regardsYou can use Sql Loader or External tables for your requirement
Missed Karthick's post ...alredy there :)
Edited by: Rajneesh Kumar on Dec 4, 2008 10:54 AM -
How to load the data from .csv file to oracle table???
Hi,
I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
Thanks in advance981145 wrote:
Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
the command is
sqlldrType it and see if you have it installed.
Have a look also at the FAQ link posted by Marwin.
There are plenty of examples also on the web.
Regards.
Al -
SQL loaded not loading data from csv format to oracle table.
Hi,
I trying to load data from flat files to oracle table,it not loading decimal values.Only character type of data is loaded and number format is null.
CONTROL FILE:
LOAD DATA
INFILE cost.csv
BADFILE consolidate.bad
DISCARDFILE Sybase_inventory.dis
INSERT
INTO TABLE FIT_UNIX_NT_SERVER_COSTS
FIELDS TERMINATED BY ',' optionally enclosed by '"'
TRAILING NULLCOLS
HOST_NM,
SERVICE_9071_DOLLAR FLOAT,
SERVICE_9310_DOLLAR FLOAT,
SERVICE_9700_DOLLAR FLOAT,
SERVICE_9701_DOLLAR FLOAT,
SERVICE_9710_DOLLAR FLOAT,
SERVICE_9711_DOLLAR FLOAT,
SERVICE_9712_DOLLAR FLOAT,
SERVICE_9713_DOLLAR FLOAT,
SERVICE_9720_DOLLAR FLOAT,
SERVICE_9721_DOLLAR FLOAT,
SERVICE_9730_DOLLAR FLOAT,
SERVICE_9731_DOLLAR FLOAT,
SERVICE_9750_DOLLAR FLOAT,
SERVICE_9751_DOLLAR FLOAT,
GRAND_TOTAL FLOAT
In table FLOAT are replaced by number(20,20)
SAmple i/p from csv:
ABOS12,122.46,,1315.00,,1400.00,,,,,,,,1855.62,,4693.07
Only abos12 is loaded and rest of the number are not loaded.
Thanks.Hi,
Thanks for your reply.
Its throwing error.
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table FIT_UNIX_NT_SERVER_COSTS, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
HOST_NM FIRST 255 , O(") CHARACTER
SERVICE_9071_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9310_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9700_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9701_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9710_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9711_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9712_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9713_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9720_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9721_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9730_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9731_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9750_DOLLAR NEXT 255 , O(") CHARACTER
SERVICE_9751_DOLLAR NEXT 255 , O(") CHARACTER
GRAND_TOTAL NEXT 255 , O(") CHARACTER
value used for ROWS parameter changed from 64 to 62
Record 1: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 2: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 3: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 4: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 5: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 6: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 7: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 8: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 9: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 10: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Record 11: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column GRAND_TOTAL.
ORA-01722: invalid number
Please help me on it.
Thanks, -
How to load master data from 2 source system without using 0logsys as compo
Hi Gurus,
I am working on a project which has 2 source systems.
Now I have to load master data from 2 source systems without making 0LOGSYS as compunding attribute. Because all the objects which i want to use compunding attribute are reference objects for lot of other info objects. So, i dont want to change the business content objects structure.
So, please help me out providing logic.
thanks in advance
Peter.Hi Peter,
Can you brief me how did you resolved your issue?
Regards
Utpal -
HY000 error retrieving CLOB-data from oracle database via ODBC
Hello,
I get error HY000 [Oracle][ODBC][ORA] ORA-00932: inconsistent datatype when I want to show a CLOB column in my crystal report. The type of the field in the report is memo - in the database it is CLOB.
How to retrieve CLOB-data from an Oracle 11GR2 database via ODBC in Crystal Report Version 12.3.0.601?
Thanks in advance for any help.
kind regards
Monika AnnaHello,
Who's ODBC driver are you using?
Try our DataDirect drivers - https://smpdl.sap-ag.de/~sapidp/012002523100008666562008E/cr_datadirect53_win32.zip
Thank you
Don -
Unable to retrieve CLOB data from oracle
hello I am trying to retreive a clob data from database. I am passing "country" to get "information". after submitting data it is showing SQLException caught: General error .
whatz wrong.? can anybody help?
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class ClobTest2 extends HttpServlet{
public void doGet( HttpServletRequest req, HttpServletResponse res )
throws ServletException, IOException
Connection conn = null;
Statement st = null;
ResultSet rs = null;
res.setContentType( "text/html" );
PrintWriter out = res.getWriter();
String coun$ = "";
coun$ = req.getParameter( "coun" );
try{
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver");
conn = DriverManager.getConnection( "jdbc:odbc:clobtester", "temp", "sol" );
st = conn.createStatement();
rs = st.executeQuery( "SELECT information FROM testclob WHERE country = '"+coun$+"' ");
while( rs.next() )
out.println(rs.getClob(1) );
catch( ClassNotFoundException e )
out.println( "Could not load database driver" + e.getMessage() );
catch( SQLException e )
out.println("SQLException caught: " + e.getMessage() );
e.printStackTrace();
catch( Exception e )
System.err.println( "Problem closing the database" );
try{
st.close();
conn.close();
}catch( Exception e )
System.err.println( "Problem closing the database" );
}certainly but this problem can go on several
category. and I am the needy one to get the solutionHowever I don't need to answer cross-posted questions. And I don't. -
How to load text data from multiple source systems.
Hello Gurus,
I am facing an issue of loading master data text into 0Material. I have loaded attribute data from 2 source systems. But i am not able load text data from the same 2 source systems as i am not able to see 0logsys in transfermation rules of 0MATERIAL.
Please gimme some inputs to proceed.
Thanks in advance
PeterHi,
I dont think that you need the source system info here, texts are mapped to attributs and attributs to source systems.
so try to load simply:
material key, text, lang (optional)
Hope it helps. -
Loading data from SQL server to Oracle database
i want to create one table in oracle db from table in sql server. Table is huge it got 97,456,789 records.
I created db link (HS) in oracle database which is pointing to sql server. i can select that table from oracle thru db link.
select * from "dbo"."t1@dblink;
i fired below create table.
create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
and its taking long time.... but its running...
is there any alternate method to do this and and populate table in oracle db faster.
Please advise. thanks.vhiware wrote:
create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
and its taking long time.... but its running...I doubt that parallel processing will be used as this is unique to Oracle (using rowid ranges typically) and not SQL-Server.
is there any alternate method to do this and and populate table in oracle db faster.Part of the performance overhead is pulling that data from SQL-Server to Oracle across the network link between them. This can be sped up by compressing the data first - and then transferring that across the network.
For example: using +bcp+ to export the data on the SQL-Server box to a CSV file, compress/zip the file, scp/sftp the file to Oracle, and then unzipping it there. Parallel and direct load processing can now be done using SQL*Loader to load the CSV into Oracle.
If this is a Linux/Unix base system, then the unzip/decompress process can be run in parallel with the SQL*Loader process by creating a pipe between the two - where the unzip process writes uncompressed data into the pipe and SQL*Loader reads and loads data as it becomes available via the pipe.
Alternatively, you can do you own PQ processing. Let's say the data is date ranged. You can create a procedure on Oracle that looks something like this:
{code}
create or replace procedure CopyDay( day date ) is
begin
insert /*+ append */ into local_tab select * from remote_tab@remotedb where col_day = day;
-- add logging info, commit, etc.
end;
{code}
You can now start 10 or more of these for different days and run it in the background using DBMS_JOB. -
Can we merge data from multiple sources in Hyperion Interactive Reporting ?
Hi Experts,
Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
Oracle,
Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
Thanks,
VYes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
look in help for Creating Local Joins -
Upload data from excel file to Oracle table
Dear All,
I have to upload data from excel file to Oracle table without using third party tools and without converting into CSV file.
Could you tell me please how can i do this using PLSQl or SQL Loader.
Thnaks in Advance..Dear All,
I have to upload data from excel file to
Oracle table without using third party tools and
without converting into CSV file.
Could you tell me please how can i do this
using PLSQl or SQL Loader.
Thnaks in Advance..As billy mentioned using ODBC interface ,the same HS service which is a layer over using traditional ODBC to access non oracle database.Here is link you can hit and trial and come out here if you have any problem.
http://www.oracle-base.com/articles/9i/HSGenericConnectivity9i.php[pre]
Khurram
Maybe you are looking for
-
UK iphone user - travel adapter advice needed
Hi, We're heading off to Mexico shortly from the UK for a two week vacation. Since I intend to take my iPhone 3G with us for emergency use and to take advantage of the free wireless in the hotel (with data roaming switched off), I need some guidance
-
Another victim of the suddenly-missing AppleTV in iTunes
I picked up my AppleTV a couple of weeks ago, brought it home and synced it successfully to a G4 iMac. Put some content on it, and it ran quite well. Last night I get home, and iTunes cannot see the device any more. The only variable? Installed the Q
-
I downloaded Ai and it is present in my apps, but I not in my program files, how do I do that? Ha anyone had the same problem? Anne Marie
-
Check printing issue when vendor in Arabic and other in english are used
We are facing a scenario in which when we try to print two checks (one in arabic and the other in english) , the amount in words for english is creating alignment issue . Like 54647.08 in words would be fifty four thousand six hundred fourty seven
-
Differnce Between Oracle 9i And MS SQL Server 2000
Hi, What are the difference between Oracle 9i And MS SQL Server 2000. Thnaks