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. oledb and table with no key

oledb and table with no key

Scheduled Pinned Locked Moved Database
c++databasesql-serversysadminhelp
2 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.
  • A Offline
    A Offline
    AlexEg
    wrote on last edited by
    #1

    Hi, I have on MS-SQL server table without any key. When I use query analyzer I sould select from this table. But when I try the same sql command in my visual c++ application with oledb than it returns error on CCommand::Open. Only creating primary key helps. Should I any way open the table without any key? Thanks, Alex.

    A 1 Reply Last reply
    0
    • A AlexEg

      Hi, I have on MS-SQL server table without any key. When I use query analyzer I sould select from this table. But when I try the same sql command in my visual c++ application with oledb than it returns error on CCommand::Open. Only creating primary key helps. Should I any way open the table without any key? Thanks, Alex.

      A Offline
      A Offline
      Alex Deem
      wrote on last edited by
      #2

      Howdy, I'm afraid im not going to be much help, but i believe i may be experiencing the same problem. I have posted a question which may interest you to read: click If you make any progress I would appreciate it if you'd let me know the secrets ;) Cheers, Alex

      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