How to transfer long raw between servers

There is a view in remote server that has included long raw field in which images are stored in tiff format.
I want to transfer them to a local server. When I searched I found out that one way to do such transfer is copy command in sqlplus.
When I used this command to transmit the data, long raw field has failed. Given that I can not give a dump, what way I can choose to transfer long raw data.

Difficult to say if you keep information about your Oracle version secret.

Similar Messages

  • How to read LONG RAW data from one  table and insert into another table

    Hello EVERYBODY
    I have a table called sound with the following attributes. in the music attribute i have stored some messages in the different language like hindi, english etc. i want to concatinate all hindi messages and store in the another table with only one attribute of type LONG RAW.and this attribute is attached with the sound item.
    when i click the play button of sound item the all the messages recorded in hindi will play one by one automatically. for that i'm doing the following.
    i have written the following when button pressed trigger which will concatinate all the messages of any selected language from the sound table, and store in another table called temp.
    and then sound will be played from the temp table.
    declare
         tmp sound.music%type;
         temp1 sound.music%type;
         item_id ITEM;
    cursor c1
    is select music
    from sound
    where lang=:LIST10;
    begin
         open c1;
         loop
              fetch c1 into tmp; //THIS LINE GENERATES THE ERROR
              temp1:=temp1||tmp;
              exit when c1%notfound;
         end loop;
    CLOSE C1;
    insert into temp values(temp1);
    item_id:=Find_Item('Music');
    go_item('music');
    play_sound(item_id);
    end;
    but when i'm clicking the button it generates the following error.
    WHEN-BUTTON-PRESSED TRIGGER RAISED UNHANDLED EXCEPTION ORA-06502.
    ORA-06502: PL/SQL: numeric or value error
    SQL> desc sound;
    Name Null? Type
    SL_NO NUMBER(2)
    MUSIC LONG RAW
    LANG CHAR(10)
    IF MY PROCESS TO SOLVE THE ABOVE PROBLEM IS OK THEN PLESE TELL ME THE SOLUTION FOR THE ERROR. OTHER WISE PLEASE SUGGEST ME,IF ANY OTHER WAY IS THERE TO SOLVE THE ABOVE PROBLEM.
    THANKS IN ADVANCE.
    D. Prasad

    You can achieve this in many different ways, one is
    1. Create another VO based on the EO which is based on the dest table.
    2. At save, copy the contents of the source VO into the dest VO (see copy routine in dev guide).
    3. commiting the transaction will push the data into the dest table on which the dest VO is based.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    if by table you mean a DB table, then no, you can have a VO based on multiple EOs which will do DMLs accordingly.Thanks
    Tapash

  • How to show long raw picture  in adf jsp

    Pictures are stored in long raw column in oracle database. I have followed to show picture based on servlet to retrieve image from blob column but to no success. Kindly help.

    Thanks for helping.
    I have  already used following servlet but no picture. I think problem is in specific line because image is in Long Raw instead of Blob..
    Blob blob = rs.getBlob("PLAN_PIC");
    Image Servlet
    public class imageservlet extends HttpServlet {
        private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
        public void doGet(HttpServletRequest request,
                          HttpServletResponse response) throws ServletException,
                                                               IOException {
            response.setContentType(CONTENT_TYPE);
            String imageId = request.getParameter("id");
           // String imageId="4000";
            OutputStream os = response.getOutputStream();
            Connection conn = null;
            try {
                Context ctx = new InitialContext();
                //Datasource as defined in <res-ref-name> element of weblogic.xml
                DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/DYEDS");
                conn = ds.getConnection();
                PreparedStatement statement =
                    conn.prepareStatement("SELECT plan_no, plan_pic " +
                                          "FROM tblplanpics " +
                                          "WHERE plan_no = ?");
               // statement.setInt(1, new Integer(imageId));
                statement.setString(1,imageId);
                ResultSet rs = statement.executeQuery();
                if (rs.next()) {
             //       Blob blob = rs.getBlob("PLAN_PIC");
                  Blob blob = rs.getBlob("PLAN_PIC");
                    BufferedInputStream in =
                        new BufferedInputStream(blob.getBinaryStream());
                    int b;
                    byte[] buffer = new byte[10240];
                    while ((b = in.read(buffer, 0, 10240)) != -1) {
                        os.write(buffer, 0, b);
                    os.close();
            } catch (Exception e) {
                System.out.println(e);
            } finally {
                try {
                    if (conn != null) {
                        conn.close();
                } catch (SQLException sqle) {
                    System.out.println("SQLException error");

  • HOW to USE 'LONG RAW' in Bulk Insertion using OCI

    Hi,
    I need to do bulk insertion of LONG RAW data into a table using the OCI.
    To the OCIBindByPos API what should I specify in the field size(value_sz). As different records can have different lenght for this LONG RAW data what value should I provide.
    Thanks,
    Tuhin
    sword OCIBindByPos ( OCIStmt *stmtp,
    OCIBind **bindpp,
    OCIError *errhp,
    ub4 position,
    dvoid *valuep,
    sb4 value_sz,
    ub2 dty,
    dvoid *indp,
    ub2 *alenp,
    ub2 *rcodep,
    ub4 maxarr_len,
    ub4 *curelep,
    ub4 mode );

    ORA-00997: illegal use of LONG datatype
    Cause: A value of datatype LONG was used in a function or in a DISTINCT, WHERE, CONNECT BY, GROUP BY, or ORDER BY clause. A LONG value can only be used in a SELECT clause.
    Action: Remove the LONG value from the function or clause
    Are you using the column anywhere else but in the SELECT?

  • How to transfer app data between two different game center accounts?

    Hello, I really need some help.
    I have looked all over the web for ways to transfer apps between two different game center accounts and different devices. Several weeks ago I started playing Campus Life on my relative's Ipad 2, therefore spending many long hours to get to this point in the game.
    The problem is I just got an Iphone 5 and I really would like to transfer the data onto it, so that I would not need to start all over again.
    My grandma has an account (Game Center) onto which the data has been saved and I would like to have it stored onto mine. On some forum someone said to sign into the account which has the data on both devices and to then open up the game on the new device. It worked. Then I signed out and logged in with my own account- the game started from scratch. I panicked. I went back on the other account, and the data reappeared. I have been going back and forth, the game changing as many times. I thought it would ask to back up my grandma's data on mine but I was wrong. I can not seem to save the game onto my new account, and I have even tried to back it up to Itunes and then copy it onto my phone after having signed into my own account. And I don't know how to properly use Icloud. I am a mess. I am completely lost and have found no help on the web. (All people seem to have to deal with is sharing Apple IDs with different Game Center Accounts for the kids and transferring apps from one of their devices to another.)
    I am so worried I am going to mess up and will lose the whole thing completely.
    I have just started another game with my own account but since I am using my grandma's, the data is erased. It's one or the other but I definitely prefer saving Campus Life. I do not like the idea of having to only pick one.
    I do not know any technical terms, so if you understand or even have the slightest clue about what I am talking about, I applaud you.
    This seems like mission impossible, so if anyone can help in any way, I would be really grateful. 
    Thanks in advance for your time and thoughts!

    I meant to press on "This solved my question"... Sorry if you needed the points.
    Thank-you and I will just go back and forth between the accounts.

  • How to transfer a value between two view in Web IC

    Hi all,
    I'm trying to enhance the Partner contact creation view by adding in this view the language. This works fine but now i want to set a default value based on the customer language. But i don't understand how i cant retrieve the customer language from my contact view.
    Can somedy help me on the subject ?
    Thanks in advance.

    Hi,
       To transfer data from one view to other, we always use component controller. But one easy approach is to store the value as a static variable of a class. The the user can access it in the same session always.
    Regards,
    Manas.

  • New computer/old computer. How to transfer the music between the two.

    I purchased a new computer recently and I have managed to put my old itunes music from my old computer onto a portable hard drive. how do I transfer that music onto my new computer?

    Drag the folder containing it to the new computer's hard drive, and from there into the open iTunes window, or if it contains a complete iTunes library, launch iTunes with the Shift key held down, click on Choose Library, and point it there.
    (48223)

  • How to print long raw text data in report output in single line?

    Hi All,
    I have a requirement where I need to print raw comma separated text data in the report output which end user will open in excel and can sort as required. I can not directly generate excel output.
    Now there is huge set of data and each row from the report query should be get printed on single line, It should not get printed on the next line.
    I tried to extending the report with 240 characters but still there are some text data which is getting printed on the next line.
    Please share your view if someone has any solution on this issue.
    Thanks in Advance.
    Arun

    Make the report even wider. By default a report layout can be 10 pages wide. If you need more, change the "Max. Horizontal Body Pages" property, and extend your layout too.
    IMHO, I wouldn't even use Reports to create a csv file. Utl_file or an sqlplus script that spools to a file are better options I think.

  • How to transfer a module between systems and change the system name?

    Hello,
    I would like to transfer a module I've built from one server to another, my questions are:
    1. What will be the best way to do it?
    2. The 2nd Server contains a System with the same queries but the system has a different alias. Suppose I don't want to add to the system and the 2nd server the alias from the 1st system, is it possible to change the system in the module queries once it has been compiled and deployed?
    Roy

    Hi,
    1) You can use the export/import features of VC to transfer models.
    2) The requirement is not clear. I guess your alias name is different in the second system and you want the imported model to work fine with the current alias in second system.
    To change the alias, goto Menu Tools ->Alias manager, select your system and replace it with the new alias. Then compile and deploy it.
    Hope it helps
    Regards,
    Sooraj

  • How to transfer Notes from PC to Mac

    My iCloud account syncs all my new notes from my iPhone 4 to my mac, however I have over 200 notes on my iPhone that are labelled as "From My PC" I cannot find a way to sync those notes to my mac??

    Below are methods for copying everything from one computer to another.  If you have some things on one and other things on another and want to integrate them, it gets really messy and you need to use more complex methods.
    iTunes: How to move your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    do not confuse moving your whole folder and library with moving just media files as in
    iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/HT1449
    Quick answer if you let iTunes manage your music:  Copy the whole iTunes folder and all its subfolders and files intact to the other drive. If you already have an iTunes folder on that drive, you can replace it when copying as long as you don't care about the contents.
    Macworld - How to transfer iTunes libraries between PC and Mac - http://www.macworld.com/article/46248/2005/08/shiftitunes.html
    I have almost zero experience with synching and can't help with that.

  • How to transfer files from Mac to Mac

    How to transfer files/programs between Mac to Mac

    A41KJ wrote:
    How to transfer files/programs between Mac to Mac
    I have always used Target Disk Mode
    http://support.apple.com/kb/HT1661
    Good Luck
    Pete

  • HT3819 how to transfer music

    How to transfer music from one PC computer to Mac desktop via itunes

    Everything, or just a few things?
    For everything:
    iTunes: How to move your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    do not confuse moving your whole folder and library with moving just media files as in
    iTunes for Mac: Moving your iTunes Media folder - http://support.apple.com/kb/HT1449
    Quick answer if you let iTunes manage your music:  Copy the whole iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option key held down and guide it to the new location of the library.
    Macworld - How to transfer iTunes libraries between PC and Mac - http://www.macworld.com/article/46248/2005/08/shiftitunes.html
    For just a few things, copy the media files to a flash drive or external drive, then copy to the Mac and add to iTunes.

  • How to view contents in Long Raw datatype column

    Hi,
    We have two node RAC database with 10.2.0.4.0 version.
    OS - IBM AIX.
    We have a table with a column with datatype "LONG RAW" in production. It stores image files.
    We need to send the images from few rows to third party vendor. Basically, they need to view the images.
    Earlier, I have exported to dump file using datapump and sent to vendor. but vendor is telling that they are not able to view the images. Can you please suggest best method to transfer the images (LONG RAW datatype) and the method to view them.

    We have a table with a column with datatype "LONG RAW" in production. It stores image files.
    We need to send the images from few rows to third party vendor. Basically, they need to view the images.
    Earlier, I have exported to dump file using datapump and sent to vendor. but vendor is telling that they are not able to view the images. Can you please suggest best method to transfer the images (LONG RAW datatype) and the method to view them.How is the vendor trying to use the extracted images? Data exported with datapump must be imported into another database with datapump. The same applies to the exp utility (must use imp to load into a database).
    If you're careful you should be able to write a binary file using utl_file.
    Regarding the long raw, is there any way you could convert to BLOBS? Longs and Long raws are notoriously hard to work with

  • How to move data of LONG RAW column to another table?

    I want to transfer the Long Raw datatype from A ( a Long Raw) to B (b Long Raw) in PL/SQL. The data of a colum is bigger than 32KB
    Pls help me to advise how to do that?
    Thanks a lot for your reply.

    Example:
    begin
      insert into a values(utl_raw.cast_to_raw(12345654));
      commit;
      for c in (select a from a) loop
          insert into b values(c.a);
      end loop;
      commit;
    end;

  • How do you get your old scores on your games when you transfer the games between devices ive signed into game center and my scores are there but when I open the games Im at 0 again

    how do you get your old scores on your games when you transfer the games between devices ive signed into game center and my scores are there but when I open the games Im at 0 again

    Did you do this?
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

Maybe you are looking for

  • I Need Help In Deleting Table row by clicking on "Delete" button inside the

    Dear all, first i'm new to Swing i have created table with customized table model, i fill this table using 2d array, this table rows contains JButtons rendered using ButtonRenderer.java class and action listeners attached by the AbstractButtonEditor.

  • Is anyone successfully using Logic Pro with a Thunderbolt RAID?

    I am having hanging issues before recording which I would like to narrow down possible causes - thanks

  • Domain Controller require ADC to sync before DC come online

    Hi, I have an urgent query that my domain controller I think might not working properly. The reason for this if I restart my DC and ADC and when try to open Active Directory console it gives error until the ADC comes online completely. I don't know w

  • Career upgrade

    Hi guys I am basically MCA person, have total 10yrs of experience out of which 8yrs in SAP. I started my carreer with SAP-ABAP techno functional, then studied little SD areas to move functional side. but i could not get chance to work as functional c

  • Can I install Solution Manager on Netweaver 04?

    Hi, I am very new to the Basis world.  I'm trying to learn installations and figure out where SAP components can be installed.  I have just recently installed a Netweaver 04 environment with the SAP Abap instance (Basis 6.40).  Is it possible to now