Skip to content

FreeTDS Needs to Support SQL Azure #3

Description

@daviddoliver

SQL Azure does not support "use" to switch between db's.

Need to replace dbuse with dbsetlname/dbopen.

// CORRECT for Azure: set DB in login record via DBSETLNAME
DBSETLNAME(login, database, DBDBNAME);
// then dbopen() — do NOT call dbuse() afterward
DBPROCESS *conn = dbopen(login, server);
// remove any dbuse(conn, database) call here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions