Справочник по C#

    Исходники по языку программирования CSharp

    Connection strings for Access (Part 1): Справочник по C#

    /
    /
    /
    24 Views


    Microsoft Access ODBC Driver

    Тип: ODBC Driver
    Использование: Driver={Microsoft Access Driver (*.mdb)}
    Производитель: Microsoft

    Standard Security

    Driver={Microsoft Access Driver (*.mdb)};Dbq=C:mydatabase.mdb;Uid=Admin;Pwd=;
    

    Workgroup

    Driver={Microsoft Access Driver (*.mdb)};Dbq=C:mydatabase.mdb;SystemDB=C:mydatabase.mdw;
    

    Exclusive

    Driver={Microsoft Access Driver (*.mdb)};Dbq=C:mydatabase.mdb;Exclusive=1;Uid=admin;Pwd=;
    

    Enable admin statements

    To enable certain programatically admin functions such as CREATE USER, CREATE GROUP, ADD USER, GRANT, REVOKE and DEFAULTS (when making CREATE TABLE statements) use this connection string.

    Driver={Microsoft Access Driver (*.mdb)};Dbq=C:mydatabase.mdb;Uid=Admin;Pwd=;ExtendedAnsiSQL=1;
    

    Specifying locale identifier

    Use this one to specify the locale identifier which can help with non-US formated dates.

    Driver={Microsoft Access Driver (*.mdb)};Dbq=C:mydatabase.mdb;Locale Identifier=2057;Uid=Admin;Pwd=;
    

    Connection strings for Access (Part 1): Справочник по C#

    0.00 (0%) 0 votes

    moyadcode13
    • Facebook
    • Twitter
    • Google+
    • Linkedin
    • Pinterest
    moyadcode10
    moyadcode11
    moyadcode9