Using long type field

hi, supposed that i have a table that have one field LONG type. now i want to use this long type field like that ;
insert an exe file about 25-35 mb to this long type field. and then i want to take and down this exe file under c:\try directory and execute this file. i use forms developer as tool
how can i do ? coluld you say any idea ?

Does it have to be a LONG?
LONGs are difficult to use properly. There are many limitations. LOBS (BLOB or CLOB) are generally much easier and more consistent to use.
Oracle has published 2 documents that are useful for you. The 'Application Developer's Guide - Fundamentals' and 'Application Developer's Guide - Large Objects' manuals include sample code.
And finally - could you use WebDAAV (Oracle's implementation is ORADAV). That allows you to display a column as a Windows drive.

Similar Messages

  • Copy data for long type field

    hello
    I am trying to copy data from one table to another both have long type field.
    but facing an error
    like
    SQL> copy from neo/neo1234@neo99_local insert temp using select * from temp1
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    CPY-0012: Datatype cannot be copied
    thanks

    If I recall correctly there's a restriction that prevents you selecting LONG datatypes over a remote connection.But SQL*Plus COPY command should be able to handle LONGs.
    Maybe the table has other datatypes not supported by COPY?!

  • Problem on Export to Excel - converts Long type field to General (Unknown)

    hello! i used JSP to export table data to excel.. there's nothing wrong with the data displayed.. But the problem is.. when one of the fields is computed and retrieved in the JSP, and then exported to excel, it converts the Long type field to General and therefore cannot be computed when being used in a formula. Also, when you change it's type by right clicking the cell and chose "Format Cells", it still can't change it's type to number even if you have it changed. Therefore can't be computed..
    I have other number fields but they were just retrieved and not computed as they were exported to excel.. But they don't change their types like the computed ones..
    please help.. thanks

    hello! i used JSP to export table data to excel..Yuck. :p Didn't even consider it being possible. I'd use a servlet anyway, after all, it's designed to be able to stream out non-HTML.
    there's nothing wrong with the data displayed.. But
    the problem is.. when one of the fields is computed
    and retrieved in the JSP, and then exported to excel,
    it converts the Long type field to General and
    therefore cannot be computed when being used in a
    formula. Well, since there is no class in the standard API that handles Excel files, you migh want to ask the support of whoever provided your tool.

  • LONG type field

    Hello All.
    Please, I need your help.
    Has anybody a solution of how to put the data more than 32K to LONG-type field?
    I can not update db structure to CLOB because it'll take time to change client-side applications(developed long time ago by other coders)...
    thanx!

    Tom has some sample JDBC code running outside the database that works with LONG columns
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1310802216301
    If you need to trigger the load from within Oracle, I suppose you could have a Java stored procedure that called out to the operating system to invoke an external Java app... You could also write an ODBC/ OCI/ Pro*C application that could be called as an external procedure.
    Justin

  • Page break handeling when using table type field

    Hello everyone
    I've created an adobe form using tcode SFP.
    A table, "T1", is containing fields where one of it is a TABLE TYPE (Let give the following name "T1-FT1").
    So the structure can look like:
    T1-F1
    T1-F2
    T1-FT1-FTF1
    T1-FT1-FTF2
    basically the structure is like to have documents containing several items where those items have several serial number.
    I need to have page break per documents, per items and serial number where those one have specific header page different than the document itself.
    I need to have a page break per T1 records with specifc header.
    So for each new records of T1, I have to create a new page with it's specific header.
    The table T1-FT1 is starting on the current page, but if I have to many records to stay on the page I need to create another page with it's specific header that is different than the page 1.
    My problem is the page break handling.
    I can have the pagination tab at the Table1 and row1 level but I don't have the pagination tab at the T1-FT1 level.
    Here is what my hierarchy:
    _MasterPage
    __Page1
    __Page2
    _MainSubForm
    __Subform1
    ___Table1
    ____Row1
    _____Subform
    ______Table2
    ________Row2
    Example of Data:
    T1-F1 ___ T1-F2 __ T1-FT1-FTF1 __ T1-FT1_FTF2
    A _______ B _____  1 ___________  1
    A _______ B _____  1 ___________  2
    B _______ C _____  1 ___________  1
    B _______ D _____  1 ___________  2
    B _______ D _____  1 ___________  3
    The final page break layout should look like:
    Page1
    Header1
    A B
    ___ 1 1
    ___ 1 2
    Page2
    Header1
    B C
    ___ 1 1
    ___ 1 2
    Page 3
    Header2
    B C
    ___ 1 3
    Because there is not enough room on page 2 for the last record of the table T1-FT1, a new header is used on page 3.
    Actually several problems occurs. I cannot have the proper page break set to avoid empty pages as first or last page.
    The pagination tab stop to be available after the Row1. So we cannot set page break at the table2 and row2.
    The page break contidion doesn't work. "Well I didn't succeed to make it work".
    Any idea on how to handle those page break at table2 level?
    Is anyone had to create a PDF form where we have the date into several level of structure?
    Regards
    dstj
    Edited by: dstj on Feb 18, 2010 10:59 PM
    Edited by: dstj on Feb 18, 2010 11:00 PM

    I have the exact same issue. Could not find a solution. In my case, there are multiple subforms printed one below the other. If an expandable subform overflows into a new page, the last line overlaps with the text of next subform. I have added blank spaces between the subforms but, that does not solve the issue.
    Finally, I have managed to minimize the occurrence of the issue by doing the following. Only turn on the flag "Allow Page breaks within content" for subforms that can really spread over many pages. All other subforms, turn the flag off. This minimizes the possibility of overlapping.

  • Using Long Data type in the Page

    Hi ,
    I have a page (in multiple page creation form ) which is suppose to contain only the NOTES field of the entity being created . The Notes field is defined as LONG data type in the table.
    Two Doubts.
    1. As of now in Jdev , u only have Varchar2 data type when assigning to any messageText layout item. What should be the max value set for Max Lenght of this field on the form . I suppose its 32k+ ,since its Long Field .
    Anybody has used Long notes field before ??
    2. This page has only one item on it , ie Notes ,which i have defined as messageRichText as style. I have been trying to resize this item ,so that it stretches out on entire page . But it just doesnt resizes .. any idea ..below is my PG.xml code
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
    <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.13_1426" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
    <content>
    <oa:pageLayout id="NotesMainR" amDefName="oracle.apps.xxi.pro.server.ProAM" windowTitle="Pro Notes" controllerClass="oracle.apps.xxi.pro.webui.ProNotesCO">
    <ui:corporateBranding>
    <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
    </ui:corporateBranding>
    <ui:contents>
    <oa:messageComponentLayout id="ProInfoR" extends="/oracle/apps/xxi/pro/webui/ProInfoRN"/>
    <oa:pageButtonBar id="PgButton">
    <ui:contents>
    <oa:submitButton id="Back" use="/oracle/apps/fnd/attributesets/Buttons/Back" unvalidated="true" serverUnvalidated="false"/>
    <oa:submitButton id="Save" use="/oracle/apps/fnd/attributesets/Buttons/Save"/>
    <oa:submitButton id="Continue" use="/oracle/apps/fnd/attributesets/Buttons/Continue"/>
    </ui:contents>
    </oa:pageButtonBar>
    <oa:tableLayout id="region3" hAlign="center">
    <ui:contents>
    <oa:rowLayout id="region4" hAlign="left" vAlign="top" width="100%">
    <ui:contents>
    <oa:cellFormat id="region5" height="100%" width="100%" hAlign="left" columnSpan="1" vAlign="top">
    <ui:contents>
    <oa:header id="region6" text="Notes In Table Layout">
    <ui:contents>
    <oa:messageRichTextEditor id="ProNotesI" maximumLength="20000" viewName="CustomerPOVO" viewAttr="ProNotes" fontBar="true" alignmentGroup="true" tipType="shortTip" prompt="Pro Notes" richTextModeDisplayHeight="100%" richTextModeDisplayLength="100%"/>
    </ui:contents>
    </oa:header>
    </ui:contents>
    </oa:cellFormat>
    </ui:contents>
    </oa:rowLayout>
    </ui:contents>
    </oa:tableLayout>
    </ui:contents>
    </oa:pageLayout>
    </content>
    </page>
    any idea??
    thanks

    Hi Padma,
    Thanks for reply !!
    The width is still pain point for me ,as i am unable to increase its width .
    I tried increasing the width of the table to 100%, however ,it still doesn work .
    Any pointers ??
    If you have used this widget before , could you assist me with any sample code u hv ??
    I would really appreciate it
    thanks

  • Using of table type- - line type fields in proxy

    how to use line type fields in proxy for variable assingment, sample code will be good.

    HI,
    I need to use Type Standard table of in second report, as i am submitting to the standard report..so i cant modify...
    i want to export from first report as standard type table .....
    vikrant's code is working but i still need this to fix the problem....
    Vasuki: code is exactly you pasted....
    REPORT  ZTEST_FIRST.
    data: itab1 TYPE TABLE OF tdt_docflow,
          wa_itab like LINE OF itab1.
    wa_itab-docnum = '12345'.
    APPEND wa_itab to itab1.
    export itab1 to MEMORY ID 'ABCDE'.
    submit ztest_second and return.
    BREAK-POINT.
    I am expecting like
    REPORT  ZTEST_FIRST.
    data: itab1 TYPE STANDARD TABLE OF tdt_docflow,
          wa_itab type tds_docflow.
    wa_itab-docnum = '12345'.
    APPEND wa_itab to itab1.  " this append need to change
    export itab1 to MEMORY ID 'ABCDE'.
    submit ztest_second and return.
    BREAK-POINT.
    Giri

  • JSP and Oracle "LONG" type

    I am trying to get the data from a LONG-Type field into the JSP
    page.
    When I write the rs.getObject(columnName), or
    rs.getAsciiStream(columnName), or
    rs.getString(columnName)
    I would always get the following SQL error message: "Stream has
    already been closed".
    Do you know how to retrive the LONG data type from the results
    Set?
    Thank you.

    Did you get any reply to this one? I am having the same problem.
    Please e-mail me at [email protected]
    Thanks
    Madhu

  • How to insert data from file into long raw field using utl_file?

    I try to insert binary data from a file (under AIX 4.3.3) into a LONG
    RAW field (Oracle 8.1.6).
    First, I retrieve the data from the file like this:
    DECLARE
    FileHandle = UTL_FILE.FILE_TYPE;
    myVariable LONG RAW;
    FileHandle := UTL_FILE.FOPEN ;('prj/oracle/admin/MARTIJN/udump',
    'MyFile.ATT', 'R');
    UTL_FILE.GET_LINE (FileHandle, myVariable);
    UTL_FILE.FCLOSE(FileHandle);
    INSERT INTO myTable(DUMMYFIELD) VALUES(myVariable);
    Where DUMMYFIELD of table myTable is of type LONG RAW.
    The GET_LINE statement crashes on Oracle Error ORA-6502: Numeric of
    Value error: hex to raw conversion error.
    What do I do wrong?
    Do I use the right method to retrieve information from a file and put
    it into a long raw field, should I try it another way?
    Any help greatly appreciated,
    Martijn Rutte

    Zarina,
    To clarify your problem, you have a script node contaning your Matlab code. Are you then using the standard LV functions to load in your data from a file and pass it into the script node?
    Regards
    Tristan

  • Importing an SQL Server TEXT data type field in Oracle - problem with LONG

    Hello,
    I work in Oracle 9i and I created a view on a distant SQL Server database that contains a TEXT data type field. But I have a problem when I select that field in Oracle; I have the following error message: "ORA-00997: forbidden use of LONG data type".
    Could anybody have a solution for me, to solve that problem?
    Thanks a lot!

    It is very difficult to suggest anything without seeing your code.  I don't even know if what you are seeing is the actual value or an error code.  Often, negative numbers are indicative of error codes. 
    For instance -1 could mean that you have an invalid reference or path, etc...
    Can you post your code?

  • When using the Database Connectivity Toolset, reads and writes with long binary fields are incompatible.

    I am trying to write LabVIEW Variants to long binary fields in a .mdb file using the Database Connectivity Toolset. I get errors when trying to convert the field back to a variant after reading it back from the database.
    I next tried flattening the variant before writing it and ultimately wound up doing the following experiments:
    1) If I use DB Tools Insert Data to write an ordinary string and read it back using a DB Tools Select Data, the string is converted from ASCII to Unicode.
    2) If I use DB Tools Create Parameterized Query to do an INSERT INTO or an UPDATE operation, specifying that the data is BINARY, then read it back using a DB Tools Select Data,
    the length of the string is prepended to the string itself as a big-endian four-byte integer.
    I can't think of any way to do a parameterized read, although the mechanism exists to return data via parameters.
    Presuming that this same problem affects Variants when they are written to the database and read back, I could see why I get an error. At least with flattened strings I have the option of discarding the length bytes from the beginning of the string.
    Am I missing something here?

    David,
    You've missed the point. When a data item is flattened to a string, the first four bytes of the string are expected to be the total length of the string in big-endian binary format. What is happening here is that preceding this four-byte length code is another copy of the same four bytes. If an ordinary string, "abcdefg" is used in place of the flattened data item, it will come back as <00><00><00><07>abcdefg. Here I've used to represent a byte in hexadecimal notation. This problem has nothing to do with flattening and unflattening data items. It has only to do with the data channel consisting of writing to and reading from the database.
    I am attaching three files that you can use to demonstrate the problem. The VI file c
    ontains an explanation of the problem and instructions for installing and operating the demonstration.
    Ron Martin
    Attachments:
    TestLongBinaryFields.vi ‏132 KB
    Sample.UDL ‏1 KB
    Sample.mdb ‏120 KB

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • When I disable my left windows key for gameing using Microsoft keyboard and mouse software, I can no longer type in firefox. How can i fix this?

    Microsoft Keyboard and Mouse Software that you install with Microsoft keyboard and mice, (latest version) allows you to disable your windows key so that you don't accidentally hit it when gaming. When I take advantage of this feature, I can no longer type in Firefox. Typing in Firefox is completely disabled. Other browsers, windows, applications work, but not Firefox. What is it about the windows key that firefox needs for typing. Strange problem, but annoying because I have to use a different browser while game. Certainly not a deal breaker, but kinda strange.

    Try:
    *[[/questions/947513]]

  • How the Partner Bank type field in Customer master is used ??

    Hi,
    When 2 bank accounts are maintained in the customer master. In the Bank type field ( Partner Bank type), I give X and Y for these 2 bank accounts.
    When an invoice is raised for this customer thru Sales order, I am not able to give this partner bank type i.e X or Y in the Invoice, since the invoice is automatically created.
    If I raise thru FB70, I am able to give this X or Y.
    How can I use this Partner Bank type field when I raise sales invoice thru Sales order.
    Can anyone help me on this as early as possible.
    Regards,
    G.Ameet karthikeyan.

    Hi Experts,
    We have executed an automatic payment run in F110. Status of payment proposal and payment run are successful. Postings orders: 1 generated and 1 completed.
    However, the payment method used in the payment run is incorrect.  Instead of 'D', the user mistakenly inputted C. Kindly advise what is the purpose of Payment method in F110 and what will happen if the payment method used is incorrect and different from the one maintained in the vendor master.

  • Please show me some examples for using the carray type fields in FML buffer

    How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
    please show me some examples?
    Thanks!

    How to use Fget and Fchg to access and modify the carray type fields in FML buffer?
    please show me some examples?
    Thanks!

Maybe you are looking for

  • Line Chart Formatting in HFR

    I am using Financial Reporting for HFM and need a few line charts. I have to display the values of the respective points on the line chart which I did using the display point values checkbox in the Format Chart. However, the values are in $ or % and

  • Export - use 100% of the CPU

    I have a problem do export images and sounds with the captivate.... When i use the projetc, this is use 100% of de CPU, somebody have any idea how can I change this???? if it´s possible.... []'s

  • Itunes version 10.5 error message (-50)

    I am getting an error message that says my itunes library cannot be saved . the error code is (-50). I recently updated to version 10.5. I tryed downloading a CD which workied fine, but kept getting message everytime a track downloaded. I tried playi

  • RE: (forte-users) XML Parser - Reading an XML document intothe D ocumen

    Hi Simakis, Your attachments explained the exact start i was looking for. Thanks a lot for sharing. Thanks Laks -----Original Message----- From: Simakis, Argyris [mailto:Argyris.Simakisdet.nsw.edu.au] Sent: Thursday, April 06, 2000 12:35 AM To: 'Nara

  • Can I Tile Open Windows?

    Is there a way to tile open windows so you can see the titles of each window on top of each other?