Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to query colunm properties using ODBC backend? #1285

@ChenKe404

Description

@ChenKe404
  1. session::prepare_column_descriptions -> can't find table "information_schema.mdb", does Microsoft Access System(MDB) really have this table?

  2. select TableName from MSysObjects -> no permission, seems that "MSysObjects" can only be query in Office Access?

  3. use "backend::describe_column", but I can't get the count of column, try...catch is the only way?Image

  4. query data to "rowset". "rowset" has "define" member, but no method to get them.Image
    PS:
    not row::get_properties, because I need to query the empty table.
    and could you provide more column information, like: nullable, primary key, unique ?

soci version: 4.0.3
compiler: MSVC 2013
OS: win10
I realy like this library, but it's hard to use in sometimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions