Geeks Talk

Prepare for your Next Interview




Database access using C program

This is a discussion on Database access using C program within the C and C++ forums, part of the Software Development category; Is it possible to access database like db2 from c program. If so is this done using some predefined functions in C program or the user has to write some ...


Go Back   Geeks Talk > Software Development > C and C++

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-12-2006
Contributing Member
 
Join Date: May 2006
Posts: 79
Thanks: 0
Thanked 5 Times in 4 Posts
fred is on a distinguished road
Database access using C program

Is it possible to access database like db2 from c program. If so is this done using some predefined functions in C program or the user has to write some function for achieving the purpose. Tell me a way of doing this.
Reply With Quote
The Following 2 Users Say Thank You to fred For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 07-13-2006
Expert Member
 
Join Date: Jul 2006
Posts: 101
Thanks: 0
Thanked 6 Times in 4 Posts
sripri is on a distinguished road
Re: Database access using C program

Yes it is possible to access db2 database engine from C or C++. This is called as call level interface. There are many functions present in Call level interface namely like SQLExecute, SQLSetConnetAttr and so on.
Reply With Quote
The Following User Says Thank You to sripri For This Useful Post:
Reply

  Geeks Talk > Software Development > C and C++


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Segmentation Fault in C program RyanJames C and C++ 3 01-28-2008 12:53 AM
Relationship in Database RyanJames Database General 1 01-12-2008 01:51 PM
Achieve Scalability in Program RyanJames C and C++ 3 12-15-2006 02:08 PM
Applying DDL scripts to a remote database Lokesh M Web Servers 0 06-24-2006 12:14 AM
Deploying to the database in WebSphere Lokesh M Web Servers 0 06-24-2006 12:12 AM


All times are GMT -4. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved