Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion mssql_python/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class ConstantsDDBC(Enum):
SQL_ATTR_ROW_ARRAY_SIZE = 27
SQL_ATTR_ROWS_FETCHED_PTR = 26
SQL_ATTR_ROW_STATUS_PTR = 25
SQL_FETCH_NEXT = 1
SQL_ROW_SUCCESS = 0
SQL_ROW_SUCCESS_WITH_INFO = 1
SQL_ROW_NOROW = 100
Expand All @@ -117,6 +116,14 @@ class ConstantsDDBC(Enum):
SQL_NULLABLE = 1
SQL_MAX_NUMERIC_LEN = 16

SQL_FETCH_NEXT = 1
SQL_FETCH_FIRST = 2
SQL_FETCH_LAST = 3
SQL_FETCH_PRIOR = 4
SQL_FETCH_ABSOLUTE = 5
SQL_FETCH_RELATIVE = 6
SQL_FETCH_BOOKMARK = 8

class AuthType(Enum):
"""Constants for authentication types"""
INTERACTIVE = "activedirectoryinteractive"
Expand Down
Loading