Connect to Misrosoft SQL Server in C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gyanendar
    New Member
    • Jun 2007
    • 90

    Connect to Misrosoft SQL Server in C++

    Hi all!
    I used to code database applications in C# using code generators (mainly WebMatrix), which made it quite easy to do all database related stuff. But this time I need to do the same thing (connect to SQL Server database, run queries, extract data from query results) in C++ and I have no idea how to do it... So I'm in trouble, because my project's deadline is in 2-3 days!!!
    I didn't manage to find related topics in the internet, but I don't believe that I'm the first one to try it! Could someone help me to that??
    Please, post some code examples, if you have any - that would be the best way for me to learn.
    Thanks in advance!
    Manohar
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    There has to documentation on this in the Server SDK.

    Most likely, you will use an already coded interface object. I expect your SQL queries can be submitted directly to SQL Server once you are connected.

    I assume you have used Google and found nothing?? I did a Google for "SQL server" and "C++" and got 1.26 million hits.

    Happy reading.

    Comment

    Working...