Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. how to connect sql with c language????????????

how to connect sql with c language????????????

Scheduled Pinned Locked Moved Database
questiondatabasehelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amazingal
    wrote on last edited by
    #1

    plz........... help me out . how can i access sql queries by using c language..????:( as i have to write a program in c only. n how can i create header file to access sql queries in my program....????????

    regardz

    H D 2 Replies Last reply
    0
    • A amazingal

      plz........... help me out . how can i access sql queries by using c language..????:( as i have to write a program in c only. n how can i create header file to access sql queries in my program....????????

      regardz

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See this[^] discussions


      WhiteSky


      1 Reply Last reply
      0
      • A amazingal

        plz........... help me out . how can i access sql queries by using c language..????:( as i have to write a program in c only. n how can i create header file to access sql queries in my program....????????

        regardz

        D Offline
        D Offline
        DQNOK
        wrote on last edited by
        #3

        You have to use the C interface that's built into the database manager you are using. In other words, it depends on what DBM you are interfacing to: Oracle, SQL Server, DB2, etc. They should provide a "C language developers kit" or some such thing, that will have the appropriate headers in it. It's not generic, although the SQL standard (the X-Open version anyway) has a few things to say about interfacing with C (and other programming languages also).

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups