How to extract data from oracle using C?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Environment
    New Member
    • Feb 2008
    • 2

    How to extract data from oracle using C?

    hi 2 all

    I am using oracle as back end and C as front end.. can anyone tell me how to extract data from oracle.. it would be more helpful if u provide me with a sample code.. thanks in advance
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by Environment
    hi 2 all

    I am using oracle as back end and C as front end.. can anyone tell me how to extract data from oracle.. it would be more helpful if u provide me with a sample code.. thanks in advance
    Oracle gives pro C which can be used to extract data from Oracle DB.

    Raghuram

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      Essentially what Pro*C does is provide a preprocessor. Then you code specific Oracle macros in your C code. When you submit the code to Pro*C, the macros are expanded to the correct Oracle C functions. Then you the expanded file an use it in your C build as the source code.

      Comment

      Working...