CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    13

    using dbms_pipe with C++ to perform daabase operation

    I am getting two result: string and int in c++ code. That I want to store into database. The request which generates result is very frequent. So each time performing db operation to store the result is costly for me.

    So how this can be achived using dbms_sql? I dont have any experience and how to start with it. I did google but not clue.

    So fo I need to set environment,software or library? I am working in linux.
    I could not find any such example on web!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: using dbms_pipe with C++ to perform daabase operation

    Quote Originally Posted by karimkhan View Post
    I am getting two result: string and int in c++ code. That I want to store into database. The request which generates result is very frequent. So each time performing db operation to store the result is costly for me.
    Did you perform some timing tests?

    Quote Originally Posted by karimkhan View Post
    So how this can be achived using dbms_sql? I dont have any experience and how to start with it. I did google but not clue.
    And what does it have to do with dbms_sql?

    If performing db operation to store the result after every "get" is costly for you - try to do it after every next 10 or 100 "get" operations. Just save your string and int data in some buffer/container and then write into DB the whole buffer.
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured