Bad high and low value with the varchar2 data type

Hello

It is an application on e - biz on database 9205, with inventory module.

In one of the mtl_txn_request_headers of the table, the data for the number of application type is varchar2 (30). When I checked the low_value & high_value in dab_tab_columns, I see that the low_value is 100001 (6 digits) and high_value is 99999 (5 digits).

I used the utl_raw.cast_to_varchar2 (low_value) to convert the value.

In our case, we save a large part of the value in incremental number and some of our query will be in the predicate of the range (between).

How should I handle this kind of situation and which option do I?

Appreciate any help. Thank you.

Accepted this looks like a classic bad-data type problem, but as this picture seems be part of Oracle E-Business Suite the OP should probably talk first Oracle.

Tags: Database

Similar Questions

  • quickly create with filter-date and initialize it with the current date

    Oracle BI 11 g

    Hello!

    I need to create guest of dashboard with filter-date and initialize it with the current date. How can I do?

    I tried to create the repository initialization block and add a variable. But I don't know what should I write to DataSource? I tried using the Current_Date, Now(), sysdate functions (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed the button "Test"... "I have errors - something like 'Now() is unknown function' or 'incorrect syntax near keyword Current_Date.

    After that, I made to use presentation Variable in the command prompt, but also without success (())

    Please, help me.

    Use "Server Variable.

  • Insert/update the column with the clob data type

    Hi all

    ORCL Version: 11g.

    I have a table with the clob data type.

    Test12

    (col1 clob);

    I'm trying to insert/update to update the column with more than 4000 characters.

    But due to the limitation of tank 4000, I could not Insert/Update.

    Need your help in resolving this issue.

    THX

    Rod.

    The limit of 4000 characters is incorrect.  That pertains only to the varchar2 data type.  A clob can hold more than 4 G.

    Here is an example that shows how to insert it, I found...

    Otherwise, here is a way 'dirty' to do.

    insert into your_table (COLA, COLB)

    values

    (PRIMARY_KEY, PART 1 OF DATA)

    ;

    Update your_table

    Define COLB = COLB | PART 2 OF BIG DATA

    where COLA = PRIMARY_KEY;

    Update your_table

    Define COLB = COLB | PART 3 OF BIG DATA

    where COLA = PRIMARY_KEY;

    .. and so on...

    I don't know that I personally recommend the second style...  But he could do the job.

  • convert the varchar2 data type to the data number type

    How to convert the varchar2 data type to the data type number.


    It looks like my data

    create table one)
    col1 varchar2 (50)
    col2 varchar2 (500);

    Insert in a (col1, col2) values ('1234 ', ' 2345');

    Select Column1 of number (19)) cast (to_number (col1);

    IAM getting error invalid number


    I need to create a table with the same columns with data like number types (19)

    can someone help me

    Thank you

    You have changed your original post, so now I see that you get the invalid number.

    This is why you should always avoid the varchar columns to store numbers or dates...

    Since your table source contains a nonnumeric value, you can write a pl/sql to convert data and see what records are false:

    SQL> insert into a (col1,col2) values ('xxxx','2345');
    
    1 row created.
    
    SQL> select * from a;
    
    COL1     COL2
    -------- --------
    1234     2345
    xxxx     2345
    
    2 rows selected.
    
    SQL> create table b (col1 number(19), col2 number(19));
    
    Table created.
    
    SQL> set serverout on
    
    SQL> declare
      2  cursor c is
      3  select * from a;
      4  begin
      5    for r in c loop
      6     begin
      7       insert into b values (to_number(r.col1), to_number(r.col2));
      8     exception
      9       when invalid_number then
     10        dbms_output.put_line('Row rejected: col1='||r.col1||' col2='||r.col2);
     11     end;
     12    end loop;
     13  end;
     14  /
    Row rejected: col1=xxxx col2=2345
    
    PL/SQL procedure successfully completed.
    
    SQL> select * from b;
    
          COL1       COL2
    ---------- ----------
          1234       2345
    
    1 row selected.
    

    Max

    Published by: Massimo Ruocchio, June 14, 2011 20:00
    Added the first query in the example

  • Problem with the CLOB data type.

    Greetings,

    I am facing a problem with the CLOB data type. I know that the CLOB data type is 4 GB (I use Oracle 9i). But in the Pl Sql procedure, I can only store 34305 size for a CLOB variable character data.

    This is the test script that I am trying to run.

    DECLARE
    -Local variables here*.
    I have INTEGER;
    C_1 CLOB.
    BEGIN
    FOR Rec IN (SELECT
    *
    ACCORDING TO THE TABLE)
    LOOP
    C_1: = c_1 | Rec.Clo_1;
    END LOOP;
    EXCEPTION
    WHILE OTHERS THEN
    Dbms_Output.put_line (SQLERRM);
    END;


    Here variable C_1 range value 34305 good character regardless of type CLOB. Now the above script fails if query my buckle - huge number of return values. It is throwing the exception "error during transfer of files ORA-06502: PL/SQL: digital error or value."

    He would be grateful if someone can help me on this.

    Thank you.

    You are probably better off using DBMS_LOB.append, instead of the concatenation of varchar2 (|).

    And... take off your when-other Manager exceptions, please...

  • Using DBMS_DATAPUMP with the LONG data type

    I have a procedure below that calls the DBMS_DATAPUMP procedure using a REMOTE_LINK move a schema of one database to another. However, some tables in this schema have columns with the data type of LONG. And when I run it I get an error saying that you cannot move the data with the LONG data type using a REMOTE CONNECTION. So no data in these specific tables gets flying over.

    Does anyone else have this problem? If so, do you have a work around? I tried to add a CLOB column in my table and affecting the new CLOB equal THROUGHOUT, but I couldn't get that to not work either... even when I tried to use a TO_LOB. If I could get that pass, then I could just slide ALONG, the schema, and then re-create the LONG column on the opposite side.

    Here is my procedure...



    DECLARE
    / * IMPORT/EXPORT VARIABLES * /.
    v_dp_job_handle NUMBER;          -The handful of job data pump
    v_count NUMBER;          -Index of the loop
    v_percent_done NUMBER;          -Percentage of job complete
    v_job_state VARCHAR2 (30);     -To keep track of job status
    v_message KU$ _LOGENTRY;     -For error messages and work in PROGRESS
    v_job_status KU$ _JOBSTATUS;     -The State of the work of get_status
    v_status KU$ _STATUS;     -The status returned by get_status object
    v_logfile NUMBER;
    T_DATE VARCHAR2 (13).
    v_source_server_name VARCHAR2 (50);
    v_destination_server_name VARCHAR2 (50);

    BEGIN
    v_project: = 'TEST ';
    T_DATE: = TO_CHAR (SYSDATE, 'MMDDYYYY_HHMI');
    v_source_server_name: = 'TEST_DB ';

    v_dp_job_handle: = DBMS_DATAPUMP. OPEN)
    OPERATION = > "IMPORT."
    JOB_MODE = > "SCHEMA."
    REMOTE_LINK = > v_source_server_name,
    JOB_NAME = > v_project | ' _EXP_' | T_DATE,
    VERSION = > 'LAST');

    v_logfile: = DBMS_DATAPUMP. KU$ _FILE_TYPE_LOG_FILE;

    DBMS_DATAPUMP. ADD_FILE)
    MANAGE = > v_dp_job_handle,
    FILENAME = > v_project | ' _EXP_' | T_DATE |'. JOURNAL '.
    DIRECTORY = > 'DATAPUMP. "
    FILETYPE = > v_logfile);

    DBMS_DATAPUMP. () METADATA_FILTER
    MANAGE = > v_dp_job_handle,
    NAME = > 'SCHEMA_EXPR ',.
    VALUE = > ' = "' | v_project | " ' ') ;

    DBMS_DATAPUMP. START_JOB (v_dp_job_handle);

    v_percent_done: = 0;
    v_job_state: = "UNDEFINED";

    WHILE (v_job_state! = "COMPLETED") AND (v_job_state! = "STOPPED")
    LOOP
    DBMS_DATAPUMP. GET_STATUS)
    v_dp_job_handle,
    DBMS_DATAPUMP. KU$ _STATUS_JOB_ERROR + DBMS_DATAPUMP. KU$ _STATUS_JOB_STATUS + DBMS_DATAPUMP. KU$ _STATUS_WIP.
    -1,
    v_job_state,
    v_status);

    v_job_status: = v_status. JOB_STATUS;

    IF v_job_status. PERCENT_DONE! = v_percent_done THEN
    DBMS_OUTPUT. Put_line ('* percent of the job done = ' |) To_char (v_job_status. PERCENT_DONE));
    v_percent_done: = v_job_status. PERCENT_DONE;
    END IF;

    IF BITAND (v_status. MASK, DBMS_DATAPUMP. KU$ _STATUS_WIP)! = 0 THEN
    v_message: = v_status. WORK IN PROGRESS;
    ELSIF BITAND (v_status.mask, DBMS_DATAPUMP. KU$ _STATUS_JOB_ERROR)! = 0 THEN
    v_message: = v_status. ERROR;
    ON THE OTHER
    v_message: = NULL;
    END IF;

    IF v_message IS NOT NULL THEN
    v_count: = v_message. FIRST;
    While v_count IS NOT NULL
    LOOP
    DBMS_OUTPUT. Put_line (v_message (v_count). LOGTEXT);
    v_count: = v_message. Next (v_count);
    END LOOP;
    END IF;
    END LOOP;

    DBMS_OUTPUT. Put_line ("' job has completed");
    DBMS_OUTPUT. Put_line (' State of the Final work = ' | v_job_state);

    DBMS_DATAPUMP. Detach (v_dp_job_handle);
    END;

    TO_LOB can be used to insert, create table in select and update the instructions to convert

    So: You simply cannot use it in SELECT..., you can use CREATE TABLE BLAH AS SELECT TO_LOB (LONG_COLUMN) OF DREADED_TABLE_WITH_LONG_COL;

  • DLL for LabWindows/CVI 8.0 with the bool data type

    Hello

    I want to use a new SWIR camera in LabWindows/CVI 8.0 (Windows XP 32bits).

    The company delivered with the camera produced a 32-bit dll by using Microsoft Visual C++ 2010. The .dll and .lib and .h files include a working SDK/API (some functions with the bool data type)

    Compilation-online syntax error, variable Boolean is not a data type in LabWindows/CVI 8.0

    Generate the import of DLL-online syntax error library

    I tried to convert bool char (typedef unsigned char bool => no more syntax error but the functions does not work.)

    What can I do?

    Martin

    Hello again, Naumann!

    Microsoft Visual C++ 2010 represents Boolean using 1 byte, as stated by MSDN: https://msdn.microsoft.com/en-us/library/tf4dy80a(v=vs.100).aspx

    I guess that you import C++ functions using the syntax for extern "C". Otherwise, because of the C++ name mangling wouldn't you able to bind C++ library against your code CVI.

    You can also specify how you import C++ functions?

    In addition, because you have not described the problem as a corruption of heads or runtime error, I guess the C++ library function is called correctly the CVI. That said, I tend to believe that the problem is not really in the mechanism of interaction of C/C++, but in the C++ library. If you would start calling a dummy C++ function returning an integer from a simple CVI application that should work, because redefine bool in CVI 1 byte must ensure that settings are correctly transferred onto the stack.

    If you need to create a wrapper function of C++ that is not using bool and calls the C++ function, I expect to return the same result.

    Maybe you are missing a few prior initialization steps required? The provider of the camera also comes all example code?

    Best regards!

    -Johannes

  • As an operator with the long data type

    Oracle 10g.

    Hi gurus

    I want to apply as an operator on the long data type, but I get the error message, can you please help me why is that I use as an operator with the long data type. I did some research and but unable to find a solution, see query for more details below...

    Query

    SELECT trigger_body FROM user_triggers

    WHERE trigger_body LIKE '% UPDA % CASE % ';

    Error

    ORA-00932: inconsistent data types: expected NUMBER got LONG

    00932 00000 - ' incompatible data types: wait %s %s got. "

    * Cause:

    * Action:

    Error on line: column 2: 7

    Concerning

    Muzz

    Adrian Billington wrote to the top of your options.

    working with long columns

  • XQuery and relational queries with the RAW data

    So, I have a table like this setting:
    CREATE TABLE book_frag
    (
      book_id RAW(16),
      xpath_id INT,
      last_modified_ts TIMESTAMP,
      created_date TIMESTAMP,
      book_data XmlType,
      PRIMARY KEY(book_id, xpath_id),
      FOREIGN KEY (book_id) REFERENCES book(book_id),
      FOREIGN KEY (xpath_id) REFERENCES book_xpath(xpath_id)
    );
    
    CREATE TABLE book_xpath
    (
      xpath_id INT,
      book_element_name VARCHAR2(32),
      PRIMARY KEY(xpath_id)
    );
    I am trying a query which will regroup the different XMLTypes book_frag into one. If I use this query, it works, but it is slow and sometimes times out:
    SELECT 
        e.book_id,
        
        e.title_txt,
        e.subj_txt,
        
        e.target_mkt,
        e.target_lcl_mkt,
        
        e.catg,
        e.lang_code,
        e.out_of_stock_reas,
        
        e.sucsr_title,
        e.sucsr_sub_txt,
        
        e.orig_copy_ref,
        e.orig_subj_txt,
        
        XMLQuery(
        'declare namespace invtdata="http://www.mrbook.com/InventoryData";
        
         copy $invtData := $orig/invtdata:inventory
         
         modify
         (
           for $bkRow in fn:collection("oradb:/BOOKSCHEMA/BOOK_FRAG")
           let $bk := $mpfRow/ROW/BOOK_DATA/node()
           where xs:string($bkRow/ROW/ID)=$bookId
           return insert node $bk into $invtData
         ) return $invtData'
         PASSING XmlType('<inventory xmlns="http://www.mrbook.com/InventoryData" />') AS "orig",
         CAST(e.book_id AS VARCHAR2(64)) AS "bookId" RETURNING CONTENT
         ) AS invt_data
    FROM
      entity e
    WHERE e.title_txt = 'Finite Variable Analysis' OR e.subj_txt = 'Finite Mathematics';
    However, if I try this, it works at all.
    SELECT 
        e.book_id,
        
        e.title_txt,
        e.subj_txt,
        
        e.target_mkt,
        e.target_lcl_mkt,
        
        e.catg,
        e.lang_code,
        e.out_of_stock_reas,
        
        e.sucsr_title,
        e.sucsr_sub_txt,
        
        e.orig_copy_ref,
        e.orig_subj_txt,
        
        XMLQuery(
        'declare namespace invtdata="http://www.mrbook.com/InventoryData";
        
         copy $invtData := $orig/invtdata:inventory
         
         modify
         (
           for $bkRow in fn:collection("oradb:/BOOKSCHEMA/BOOK_FRAG")
           let $bk := $mpfRow/ROW/BOOK_DATA/node()
           where $bkRow/ROW/ID=$bookId
           return insert node $bk into $invtData
         ) return $invtData'
         PASSING XmlType('<inventory xmlns="http://www.mrbook.com/InventoryData" />') AS "orig",
         e.id AS "bookId" RETURNING CONTENT
         ) AS invt_data
    FROM
      entity e
    WHERE e.title_txt = 'Finite Variable Analysis' OR e.subj_txt = 'Finite Mathematics';
    The error I get with this query is:
    ORA-00932: inconsistent datatypes: expected - got BINARY
    00932. 00000 -  "inconsistent datatypes: expected %s got %s"
    *Cause:    
    *Action:
    Error at Line: 52 Column: 5
    Is it possible to leave the XQuery to use the RAW data type (16) without casting?

    KnightOfBlueArmor wrote:
    Is it possible to leave the XQuery to use the RAW data type (16) without casting?

    You are overloading the things, no need to XQuery Update in this case.
    As far as I understand it, all you need is XMLAgg:

    SELECT e.book_id
         , e.title_txt
         , e.subj_txt
         , XMLElement("inventory"
           , XMLAttributes('http://www.mrbook.com/InventoryData' as "xmlns")
           , XMLAgg( b.book_data )
           ) as inv_data
    FROM entity e
         LEFT OUTER JOIN book_frag b
                      ON b.book_id = e.book_id
    WHERE e.title_txt = 'Finite Variable Analysis'
       OR e.subj_txt = 'Finite Mathematics'
    GROUP BY e.book_id
           , e.title_txt
           , e.subj_txt
    ;
    

    (the OUTER JOIN may or may not be necessary, depending on the relationship between the two tables)

    Published by: odie_63 on March 27, 2013 23:16

  • Cannot save the types of collection with the correct data type (structure type)

    Hi all!

    I am beginner in using the Data Modeler (SQL Develeoper Version 3.0.04 build HAND - 04.34)

    I tried to define types of structured data type type collection.

    for example
    Types of structure: StruA (for example, Integer, Float) and StruB (e. g. whole, Timestamp, Double, Double)
    Types of collections: TabA should collect the types of StruA and TabB should collect the types of StruB.

    create or replace TYPE TabA IS TABLE OF StruA;
    create or replace TYPE TabB IS TABLE OF StruB;

    It is possible to select the correct data type in the 'Collection Type properties' dialog box.

    The data type is installed to unknown after the registration and the reopening of the design. I see that the correct type has been entered in the xml file associated with the type of collection:
    < dataTypeDescr class = "oracle.dbtools.crest.model.design.datatypes.CollectionType$ DataTypeWrapper" >
    65677BBB-FB68-963C-552D-3F98E528520B < type > < / type >
    false < isreference > < / isreference >
    < / dataTypeDescr >

    File name of the structured type is 65677BBB-FB68-963C-552D-3F98E528520B.xml

    On the display of the design or generation DDL lose again this information.
    Is - this poor handling or a bug in the Data Modeler?
    Can anyone help? THX
    Gabor

    Edited by: user9529349 the 26.09.2011 07:49

    Hey Gabor,

    I'm afraid that this is a bug. This problem was reported earlier in this forum, loss of definition of type of data from one type of collection

    Thank you
    David

  • match the number with the varchar data type

    Hi all

    I want to compare the number data type with string. Is this possible? I use the function to_char. The example below.
    SQL> select * from tab_a;
     
     PLOT_NUMBER
    ------------
               1
               2
               3
               4
               5
               6
     
    6 rows selected
    SQL> select * from tab_b;
     
    PLOT_NAME       PLOT_NUMBER
    --------------- ------------
    seawods         5
    bridge cros     2,4
    hill park       1
    bash hunk       3,6
     
    SQL> select a.*, b.* from tab_a a, tab_b b where to_char(a.plot_number)=b.plot_number;
     
     PLOT_NUMBER PLOT_NAME       PLOT_NUMBER
    ------------ --------------- ------------
               1 hill park       1
               5 seawods         5
    as you can see here this number of parcel 2, 4, and plot_number 3.6 not reported because they are string.

    Can anyone please suggest what can do us in this case.

    I can't do chane data type.

    Thanks in advance
    SAZ

    What you can do in the case?

    Drop table table_b purge

    as the 'design' of this table is obviously out of whack, and the content should have been

    PLOT_NAME       PLOT_NUMBER
    --------------- ------------
    seawods         5
    bridge cros     2
    bridge cros     4
    hill park       1
    bash hunk       3
    bash hunk       6
    

    You now have the instr function to the "join".
    I would recommend standardization of the design. NOW

    -----------------
    Sybrand Bakker
    Senior Oracle DBA

  • Syntex to create the table with the long data type

    I'm looking to create a table based on another table that having the column long data type. Throw the error ORA-00997: illegal use of the LONG data type


    I tired it

    create table abc_long (ag bgd long number);

    create table abc_long_dummy as ( ) Select *of abc_long); - ORA-00997 error: illegal use of the LONG data type

    How to get there?

    I'm looking to create a table based on another table that having the column long data type.

    You really don't want to do that.

    LONG data type has been deprecated for some time now, use CLOB.

    The TO_LOB() function will do the conversion on the fly:

    create table abc_long_dummy
    as
    select ag
         , to_lob(bgd) as bgd
    from abc_long ;
    
  • How to make the sum of hours which is the varchar2 data type in oracle

    Hi my table is like this
    emp_ngtshthrs (empno number (10), nightshifthrs varchar2 (20));

    now I want sum employee nightshifthrs how do the sum hours, it's my hours 01:00, 05:00, 08:00, 10:00, 07:00 and 09:00
    I want the sum type varchar2 hours how to do? and I want to display the sum is greater than 24:00

    Well, first of all you have posted your question in the wrong forum. You should have posted your question in the forum SQL and PL/SQL .

    The second problem I see is that you are being too generic when you have your employees enter their night shift hours worked. If you are able, I recommend that you change your table to record hours separately from minutes and make columns of type NUMBER instead of the VARCHAR2() type. Then, you can simply use arithmatic to total the hours and minutes worked.

    If you are locked in your table and cannot change it, you can convert characters to numbers and then perform your basic arithmatic on values. For example:

      1  with tab1 as (
      2  select 10 as empno, '01:00' as nightshifthrs from dual union all
      3  select 10 as empno, '05:00' as nightshifthrs from dual union all
      4  select 10 as empno, '08:00' as nightshifthrs from dual union all
      5  select 10 as empno, '10:00' as nightshifthrs from dual union all
      6  select 10 as empno, '07:00' as nightshifthrs from dual union all
      7  select 10 as empno, '09:00' as nightshifthrs from dual)
      8  select sum(to_number(replace(nightshifthrs,':','.'))) AS hours_worked
      9* from tab1
    SQL> /
    
    HOURS_WORKED
    ------------
              40
    SQL> 
    

    Of course, if your users can and do enter the minutes, then which complicates the example I provided. You will need to convert the decimal minute, sum the amount, then convert the decimal time and add this to your hours. For example:

      1  with tab1 as (
      2  select 10 as empno, '01:15' as nightshifthrs from dual union all
      3  select 10 as empno, '05:00' as nightshifthrs from dual union all
      4  select 10 as empno, '08:30' as nightshifthrs from dual union all
      5  select 10 as empno, '10:00' as nightshifthrs from dual union all
      6  select 10 as empno, '07:45' as nightshifthrs from dual union all
      7  select 10 as empno, '09:00' as nightshifthrs from dual)
      8  select sum(to_number(substr(nightshifthrs,1,2))) + SUM(to_number(SUBSTR(nightshifthrs,4,5)))/60
      9* from tab1
    SQL> /
    
    HOURS_WORKED
    ------------
            41.5
    SQL> 
    

    I hope this helps.

    Craig...

  • create a view with the double data type

    I have Windows XP with 10g 10.2.0.1.0

    I need to create a view of the double and with the type of data, such as NUMBER (5.2), NUMBER or VARCHAR2 (20).
    such as:
    create see test (view_test varchar2 (20)) as (select view_test from double)


    Help, please. Thanks in advance.

    It seems a little strange, but you can do something like this with the CAST function:

    SQL> create view dual_view as
      2  select cast(null as number(5,2)) col1
      3        ,cast(null as date)    col2
      4        ,cast(null as varchar2(30)) col3
      5  from   dual;
    
    View created.
    
    SQL> desc dual_view
     Name                                      Null?    Type
     ----------------------------------------- -------- -------------------------
     COL1                                               NUMBER(5,2)
     COL2                                               DATE
     COL3                                               VARCHAR2(30)
    

    I used the NULL values, but you can use the actual values if you wish.

  • problem with the blob data type

    Hello
    Hi just created a blob table data type and insert a text file of the directory - file "DG" and text contain text "Hello dba.

    CREATE TABLE blob_sample (id, NUMBER, blob_data BLOB);

    DECLARE
    l_bfile BFILE.
    l_blob BLOB;
    BEGIN
    INSERT INTO blob_sample (id, blob_data)
    VALUES (1, empty_blob())
    RETURN blob_data INTO l_blob;
    l_bfile: = BFILENAME ("'DG', ' hello.txt");
    DBMS_LOB. FileOpen (l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB. LoadFromFile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
    DBMS_LOB. FileClose (l_bfile);
    COMMIT;
    END;
    /

    SQL > select * from blob_sample;
    ID BLOB_DATA
    1 68656C6C6F206462612773

    Above is coded image shape & I try this with the Insert as below... IT WORKS
    SQL > insert into blob_sample (id, blob_data) values (1, '68656C6C6F206462612773');

    1 line of creation.


    But this does not work when encoded length is too large (size 10 KB text file or more)

    It returns error

    insert into blob_sample (blob_data) values ('416374697
    *
    ERROR on line 1:
    ORA-01704: string literal too long


    Please HELP how how can I insert with this method

    Published by: Mr. singh on 9 October 2012 18:54

    Published by: Mr. singh on October 9, 2012 19:38

    It does not make sense to try to build a literal string that represents the binary data in a GIF file and that insert a BLOB using an INSERT... Statement of VALUES.

    You can use the first approach (dbms_lob.loadfromfile) to load a GIF file (or any file) into a BLOB.
    If the image you are trying to load is not a file on the filesystem of database, you can use SQL * Loader on the client machine to load the data, or you can write an application in any language you want that reads the data from the file and inserts it into the BLOB by using the API in your language / framework. You have not told us what language and framework you use, but it shouldn't be too hard to find a suitable example. For example, if you use Java and JDBC, here is an example of loading a GIF in a table.

    Justin

Maybe you are looking for

  • Bad step Wait() runtime

    Hello I have a very strange problem. We still use TestStand 3.1 for our tests of production and we are currently running TestStand 12 different test stations. I just got a new nootbook that I use for the development of tests, but now I have a very st

  • How to get a minimum Image display VI

    I am building a GUI for a multi camera ROVS (underwater Robot), and I want to include multiple streams of live image on the screen. I can get the workflow, but I seem to be stuck using one of the "Image display" VI two on the range of Vision. These h

  • Internet Explorer does not start

    Internet Explorer does not start and I get this message: a problem caused blocking the program works correctly. Windows will close the program and notify you if a solution is available.

  • Read all Happenthe!

    Waiting for an application to be approved by the RIM can sometimes be a bit boring. I think that developers who have a good story by downloading applications should be able to publish their live applications on Blackberry App World immediately. This

  • How to fix GfxUI

    "you say we answer this question," where? »