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. SQL Server Transact SQL

SQL Server Transact SQL

Scheduled Pinned Locked Moved Database
databasecsharpc++sql-serversysadmin
4 Posts 4 Posters 1 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Just wondering what I need to add to a VC++ program to allow me to directly access an SQL Server database using Transact SQL. Is there an SQL Server SDK? Michael Martin Australia mmartin@netspace.net.au "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

    L C 2 Replies Last reply
    0
    • L Lost User

      Just wondering what I need to add to a VC++ program to allow me to directly access an SQL Server database using Transact SQL. Is there an SQL Server SDK? Michael Martin Australia mmartin@netspace.net.au "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

      L Offline
      L Offline
      Li Mu Bai
      wrote on last edited by
      #2

      You could add an ADO class found in CodeProject somewhere and in there you can create strings which consist of your T-SQL then you get a recordset back. you dont need an sql sdk. I hope thats what you wanted;) The Wudan Master

      C 1 Reply Last reply
      0
      • L Lost User

        Just wondering what I need to add to a VC++ program to allow me to directly access an SQL Server database using Transact SQL. Is there an SQL Server SDK? Michael Martin Australia mmartin@netspace.net.au "Don't belong. Never join. Think for yourself. Peace" - Victor Stone

        C Offline
        C Offline
        Carlos Antollini
        wrote on last edited by
        #3

        You can use the dbengine of sql server or my ado classes Regards.... Carlos Antollini. Sonork ID 100.10529 cantollini I have yet to meet a C compiler that is more friendly and easier to use than eating soup with a knife.

        1 Reply Last reply
        0
        • L Li Mu Bai

          You could add an ADO class found in CodeProject somewhere and in there you can create strings which consist of your T-SQL then you get a recordset back. you dont need an sql sdk. I hope thats what you wanted;) The Wudan Master

          C Offline
          C Offline
          Cliff Dabrowski
          wrote on last edited by
          #4

          ADO or ADO.NET (as required) are excellent choices. If however you are looking for more low level access then take a look at DBLib. This is the native accessibility layer for SQL*Server. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpdblib.asp Success is measured by ones ability to mask complexity with simplicity.

          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