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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL-DMO

SQL-DMO

Scheduled Pinned Locked Moved Database
databasequestionc++sql-serversysadmin
3 Posts 2 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.
  • M Offline
    M Offline
    monrobot13
    wrote on last edited by
    #1

    I was just doing some searching for SQL stuff here on CP and saw some things using SQL-DMO. After looking through the SQL Server Books Online that I downloaded I had a quick question. SQL-DMO doesn't seem like a good tool for retrieving information from a database, but more for administering it (adding tables, columns, etc). Am I right in that assesment? Is the best way for an MFC app to use CRecordset, and related ODBC classes? Thanks. - monrobot13

    L 1 Reply Last reply
    0
    • M monrobot13

      I was just doing some searching for SQL stuff here on CP and saw some things using SQL-DMO. After looking through the SQL Server Books Online that I downloaded I had a quick question. SQL-DMO doesn't seem like a good tool for retrieving information from a database, but more for administering it (adding tables, columns, etc). Am I right in that assesment? Is the best way for an MFC app to use CRecordset, and related ODBC classes? Thanks. - monrobot13

      L Offline
      L Offline
      LizardWiz
      wrote on last edited by
      #2

      I typically use ADO to run stored procedures and sql statements. I use DMO to write administrative utilities that run backups and script objects...etc. I would agree with your assessment, at least from my perspective. ~LizardWiz()

      M 1 Reply Last reply
      0
      • L LizardWiz

        I typically use ADO to run stored procedures and sql statements. I use DMO to write administrative utilities that run backups and script objects...etc. I would agree with your assessment, at least from my perspective. ~LizardWiz()

        M Offline
        M Offline
        monrobot13
        wrote on last edited by
        #3

        Nice to hear that my assesment was correct. You brought another question to my mind. Is there MFC classes or include files/libs that I need to use ADO? I keep reading about it, but I've no idea how I use it. Thanks for the help. - monrobot13

        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