User Profile

Collapse

Profile Sidebar

Collapse
sumeshnb
sumeshnb
Last Activity: Sep 28 '11, 05:09 PM
Joined: Feb 22 '09
Location: Chennai, India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sumeshnb
    replied to Bulk inserts to DB through PL/SQL
    please give me some info...
    thanks in advance.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to Bulk inserts to DB through PL/SQL
    Is it possible to use sqlloader to give input to a pl/sql procedure?
    ie, not a direct insertion/updation to the DB. instead a pl/sql procedure to be called with each row of the csv file.
    any help would be greately appreciated.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to Bulk inserts to DB through PL/SQL
    Hi Bhushan,
    thanks for the reply. I will do some analysis in that way.

    -sumesh.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to Bulk inserts to DB through PL/SQL
    any help would be of very much useful...

    Please give some hint...thats all needed. I dont have time to go throgh a full text book to search for a solution. Also done lot of googling...plea se help.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    started a topic Bulk inserts to DB through PL/SQL

    Bulk inserts to DB through PL/SQL

    Hi,
    I have to solve a problem relating to insertion/updation of millions of
    rows to DB (Oracle).
    The current implementation of the problem is described as follows:
    A C++ application receives data from many sources and after processing
    it inserts this data to DB. There are various procedures to handle the insert
    requests corresponding to various tables. The problem is that for each
    row's insertion...
    See more | Go to post

  • you are not supposed to ask full programs here...you should try it out yourself..and if you have specific doubt , then ask in the forum.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to strncpy gives core dump
    in C
    there is an error at the following line..
    21 free( value ); - you cannot free a statically allocated memory
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to Trying to extract words
    in C
    you can put a break statement in place of ????, so that the program will break from the for loop .

    string s = "Hello World";
    string t;
    for (size_t k = 0; k!=s.size(); k++)
    {if (isalpha(s[k]))
    t+=s[k];
    else
    break;
    }
    cout << t << endl;
    See more | Go to post

    Leave a comment:


  • I hope the below code will help you...there may be compilation errors..I haven't compiled...

    #include<stdio. h>
    char selection;//selection can be
    // P,S,T,C,B or N
    double payment;// amount corresponding to
    //the selection

    void Menu();
    int CheckMoney(doub le item_cost);
    void CoinMenu();

    int main()
    {

    double
    ...
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to how to store data in a different class object?
    in C
    If I understand your problem correctly , I would write the
    function
    Document *addDocument(io stream& inStream, string documentId);
    as follows:



    Document *Repository::ad dDocument(iostr eam& inStream, string documentId)
    {

    char line[250];
    inStream.getlin e(line,250);

    char * ptrToToken = NULL;
    ptrToToken = strtok (line," ,.-");//assumes words are
    ...
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to free()ing a pointer
    in C
    when a pointer is freed the memory it pointing to is freed...after freeing also the pointer points to that particular location in memory.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to how to store data in a different class object?
    in C
    Yes in "vector<wor d> &vw" you have the words tokenized.

    From your reply I understand your constructor of Word looks like
    Word::Word(stri ng word), If that is the case you may have to write a new constructor..
    You cannot pass vector<word> to your existing constructor...!

    If the explanation is not satisfactory, please give more details of the classes with examples.
    See more | Go to post

    Leave a comment:


  • sumeshnb
    replied to how to store data in a different class object?
    in C
    Hi,
    There are many ways in which you can store data into other class object, Bafna already gave you one way.
    you just define your other calss constructor like following:
    Word::Word(verc tor<words> &vwords)
    {
    m_vectorWords = vwords;//m_verctorWords is a data member of type
    // vector<words>
    }

    One another possible way could...
    See more | Go to post
    Last edited by sumeshnb; Oct 23 '09, 07:08 AM. Reason: class name changed

    Leave a comment:

No activity results to display
Show More
Working...