Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-12-2006
Contributing Member
 
Join Date: May 2006
Posts: 79
Thanks: 0
Thanked 6 Times in 5 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 08:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved