How to load the clob data in a table.

Hello

I loaded a column clob with a text file which has about more than 1000 lines, now the clob column has all the records as if it were a line... at the end of each record in the clob column, I think the value of this function: Chr (13)... I think it means end of line or new line something like that.. .my question is how can I move these data in a normal table... .i need a code which share this intro to data rows so I can insert them into a table...

Thanks in advance...

OAIS

Sorry, but my code is designed to give you a starting point for how to address your problem, not a complete solution.

Tags: Oracle Development

Similar Questions

  • How to load a pointer data memory in table

    I'm trying to interface to a DLL used to manage a piece of hardware. The DLL is written in c. uses _stdcall and the Import Wizard has hooked up with success of most screws in a library; many of them work everything just as it is. I have also played with the knot of library function call and think that most of the time, I got the hang of it. I ran successfully for the odd Windows API call (e.g., MessageBox). However, I am a newcomer in Labview. My problem is related to a DLL function that requires a pointer to a block of memory, in which he then dealt with the material (in the form of table of UINTs) data. I want to display these data in Labview, through a table I guess. I think I found everything I need to do in terms of creating a table and hanging until the node of library function call with an input pointer.

    I hope this would work IF the block of memory has been fully completed until the function has returned. HOWEVER, this is not how the DLL function. It creates a thread that exert to put data in the memory block after the function in the DLL. Extra features are available for face to discover if the data transfer is complete. I guess this is enough to refute the marshaling of data in Labview, unless there is some special commands for this purpose.

    I thought maybe I should allocate the memory using the Windows API (LocalAlloc LPTR flagged so I get a pointer) and I wrote a little VI that allocates and releases the memory that seems to work. This way I can release memory when the transfer is complete. MY PROBLEM is, given the pointer to the block of memory, as returned by LocallAlloc, how can I get Labview to read the memory in an array of integers.

    I am now a little stuck and would like to receive advice on one, how to convert the block of memory, or on a way to approach things btter.

    TIA

    SteveJM wrote:

    So I have a working solution, which is basically the same idea as your suggestion, but uses the Windows API. I took the trouble to mention it, but when I looked more closely at 'MoveBlock', 'DSNewPtrt' etc, I realized that they are a static C library. This means that using them requires that you have a C development system and knowledge how to build DLLs on that. As it happens that causes me a problem, but it seemed like a hammer in this case because the routines you need are already in the kernel32.dll module. [Yes that makes specific Windows, but then you would need rebuild your dll for each operating system in any case].

    This paragraph is completely inaccurate.  These functions are integrated into the runtime LabVIEW, without which your LabVIEW code will not work.  You have the guarantee that if you can run your LabVIEW code, or in the development environment or as a compiled application, these functions are available.  No need for a C development system (if that were the case, don't you think someone would have mentioned in one of the many messages on this forum on the use of MoveBlock?).

    SteveJM wrote:

    It is true that you need to find a way to pass the pointer to the destination of reference. In other words, using a "handful" I guess. One of the difficulties is that the documentation for Labview is rather imprecise on what happening coming in and out of the function call. Unfortunately, the meaning of "Handle" is very dependent on context, so documentation should be much more detailed. If you select 'Manage' rather than "Pointer table" minimum size box disappears implying that Labview will take a pointer to a pointer to a format of Labview. It would then allow the size information in the allocation of the table and set the offset pointer approprately when passing a pointer to the function that would fill the memory. If the size of the table was large enough, it might be useful to tweak with this to avoid the copy useless (and allocation), but I don't have time now, unless I find the best literature which explicitly explains this gathering takes place for each option in the dialog box.

    All the help you need is available.  Set up a call library function node to pass by handle, close the configuration dialog box, right-click on the function call library node and choose Create .c file...  You will get a draft of C with all structs defined for you, and you will see that the handful of LabVIEW table includes size information.  There is no "triage."  He is just passing pointers autour (and a few and Word-permutation of bytes due to problems of "endianness").  When you pass an array of pointer to array value, you get what you expect - LabVIEW dereferences the handle once and passes the pointer of table.  It's exactly like a C function call.  Nothing unusual occurs when the call is returned (with the exception, even once, "endianness" switch if necessary).  That said, it's a bad idea to do what you want to do with a handle, because LabVIEW is allowed to move the table when he likes and has no way to know that some other functions still has this memory block to stay where he is.

  • How to load the text file into a table and retrieve data line by line?

    I'm looking to help understand how to open a text file, each line in a table of load.  The data will be called to change the content of the text layer.  Thanks for any help.

    I did not test this code, but something like

    var a = [];

    var f = new File (Folder.desktop + "/ TestFile.txt");

    If (f.open ('r')) {}

    While (! f.eof) {}

    a.push (f.Readln ());

    }

    f.Close ();

    }

    Alert ("I read" + a.length + "lines in the file.");

    for (var i = 0; i)< a.length;="" i++)="">

    DoSomethingWithThisLine (a [i]); //<-- you="" need="" to="" write="">

    }

  • How to load the demilited hose to Oracle table text file

    Hi all

    I have a file (filaname.txt) I want to load into oracle table.

    This file is pipe delimited.

    Some examples of filename.txt data...

    SOURCE_SYSTEM_NAME | ACCOUNT_NUMBER | BILL_TO_LOCATION | SHIP_TO_LOCATION
    SMS US | 0001 | 1. 1
    SMS US | 0001 | 1. 2
    SMS US | 0001 | 1. 4
    SMS US | 0002 | 1. 1

    could you please suggest what are the parametrs to create a data store for a pipe delimited txt file.

    Thank you

    When you create him data store for the file in the files tab to define the field as separator. or Hex 7 c

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Retrieves the CLOB data when you use the keyword DISTINCT to the other columns

    I have a question about how to recover the CLOB data.

    The requirement is something that there are about 20 + columns I need to recover around 5 tables joined in the select statement.
    Since the result set after that join will also duplicate values, I need to use the distinct keyword to filter the result set.
    But there is in the columns of 20 + 2 columns to CLOB data I need to recover.

    Whenever I have use SEPARATE, I'm ORA-00932: inconsistent data types: expected - received the CLOB error.

    I know that this DISTINCT keyword cannot be used for CLOB data types.

    So can anyone here help me with any work around / another way to get the CLOB value in the QUERY SELECT.

    So please help me out in the present.

    Hello
    This forum is for problems using SQL * Developer. If the problem only occurs if you are using SQL * Developer then please give us the SQL code that you are running.
    If it happens in SQLPLUS then, it would be preferable to raise it in the SQL Forum-

    Forum: SQL and PL/SQL

    SQL and PL/SQL

    This forum is for problems using SQL * Developer.

    Kind regards
    Mike

  • How to load the metadata cloud SEEP of Fusion GL

    Hello

    Can someone let me know how to load the metadata pending SEEP cloud of merger GL through the management of data (FDMEE).

    I'm not able to see the metadata tab rule in FDMEE, as there was in previous versions.

    Y at - it another option to load the metadata into the clouds.

    Kind regards

    Srikanth

    You can not directly integrate metadata into FDMEE PBCS. The metadata option has been disabled.

  • 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.

  • loading the XML data in password protected URLs

    Using Flash Professional 8...

    I have an application that loads the XML data in remote servers.

    It works fine, except that the company provide me with the data decided to protect their files. It seems they use IIS or .htaccess protection of password for the style.

    I have a valid user name and password, but I do not know how to integrate those when calling the URL to authenticate.

    I think I need to use loadVars objects, but I've not been able to find examples where people use this method for this style of security. I see most of the examples deal with submit a name of user and password on a URL and then receive a response.
    The security of this type does not follow this pattern. The URL is blocked unless a name of user and password is entered in a box even before see pages.

    LoadVars to use for this?

    If Yes, are there an example or something that I can see?

    If this is not the case, how Flash authenticates this style of security?

    This seems like a fairly standard issue, and I am puzzled that I can't yet find other examples. Am I stupid?

    Thank you
    Joe

    Maybe it helps.
    http://www.martijndevisser.com/blog/article/using-HTTP-authorization-headers

  • How to load the CMOS (get the Bios settings) on Lenovo IdeaCentre K330

    Hello

    How to load the CMOS (get the Bios settings) on Lenovo IdeaCentre K330? Found no parameters. I can click on F2, then network and passwords, is this all I could configure?

    OK, I got it - you must click F1 several times when starting system upward!

  • How to load the operating system of split hard drive D of Aspire5315?

    OS in my laptop does not work correctly. Standard recovery system does not work - no food no points.

    How to load the operating system of split hard drive D of Aspire5315? -step by step please.

    Please consult this useful link: http://acer.custhelp.com/app/answers/detail/a_id/2631/

  • How to check the manufacturing date of the Z3 Compact?

    How to check the manufacturing date of the Z3 Compact?

    @HerrOdin

    Simple, pull on the flap of the IMEI and search for 14W__

    The first 2 digits are for the year and the last 2 digits are the week

    http://support.sonymobile.com/global-en/xperiaz3compact/Userguide/IMEI-number/

  • How to view the anticipated date of 3 days bb

    Greetings

    How to view the early date to 3 days with bb.

    I was able to view the current in bb, but can not able to display the date fututre.

    Help, please

    concerning

    Anthony singh

    Hello

    Add 3 days to the current date.

    days3 long = (3 * 24 * 60 * 60 * 1000);   MS

    TimeFormat SimpleDateFormat = new SimpleDateFormat ("YYYY/MM/DD HH: mm: EEE");
    timeString = «"+ timeFormat.formatLocal (System.currentTimeMillis () + Days3);»

    Thank you

    Stephenson

  • How to load the second list meter if I have something in the first list of select/focus?

    How to load the second list meter if I have something in the first list of select/focus?

    public class spintest extends BaseScreen implements {FocusChangeListener}

    final String [stateList] = {"New York", "Washington"};
    final String [] NYcities = {'Manhattan', 'Queens', 'Brooklyn', 'Bronx'};
    final String [] WashCities = {"Redmond", "Kent", "Seattle", "Bellevue"};

    public SpinTest() {}
    SpinBoxFieldManager spinBoxMgr = new SpinBoxFieldManager();

    SpinBoxField spinBoxStates = new TextSpinBoxField (stateList);
    spinBoxStates.setFocusListener (this);

    SpinBoxField spinBoxCities = new TextSpinBoxField (NYcities);

    spinBoxMgr.add (spinBoxStates);
    spinBoxMgr.add (spinBoxCities);

    Add (spinBoxMgr);
    }

    ' Public Sub focusChanged (field field, int context) {}
    If (spinBoxStates == field) {}
    Salt string = (String) spinBoxStates.get (spinBoxStates.getSelectedIndex ());
    If (sel.equals ("New York")) {}

    I have to load all the cities of New York in the second wheel if I select 'New York' in the first wheel

    }
    else {if (sel.equals ("Washington"))

    I have to load all the cities of Washington in the second wheel if I select 'Washington' in the first wheel

    }

    }

    Simply call the TextSpinBoxField.setChoices method, transmitting your new list of choices.

  • How to set the current date in the datetimepicker in qml?

    Hello

    Can I know how to set the current date in the DateTimePicker in QML?

     DateTimePicker {
                        id: datePicker
                        mode: DateTimePickerMode.Date
                        title: "Date"
                        value: "2013-11-20"
                        maximum: "2013-11-20"
                    }
    
    Container {
        DateTimePicker {
            id: picker5
            title: "DateTimeQml"
            mode: DateTimePickerMode.DateTime
            value: { new Date(); }
        }
    }
    
  • How to get the last date of 3 days for the current month?

    Hello. Guy

    How to get the last date of 3 days for the current month?

    MY OUTPUT WOULD LOOK LIKE THIS

    JANUARY 29, 2016

    JANUARY 30, 2016

    JANUARY 31, 2016


    GUYS HELP ME / / /...

    SQL > select last_day (sysdate) - level + 1 double connect by level<= 3="" order="" by="">

    LAST_DAY)

    ---------

    29 JANUARY 16

    30 JANUARY 16

    31 JANUARY 16

Maybe you are looking for