Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #97

Merged
merged 18 commits into from
Jan 27, 2025
Merged

Dev #97

Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update MSSQLColumn.php
  • Loading branch information
usernane committed Jan 27, 2025
commit 206a16965a1127aeac95848eb6809c7ec5cf631e
2 changes: 2 additions & 0 deletions webfiori/database/mssql/MSSQLColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function __construct(string $name = 'col', string $datatype = 'nvarchar',
'varbinary',
'date',
'datetime2',
'datetime',
'time',
'money',
'bit',
Expand Down Expand Up @@ -364,6 +365,7 @@ public function getTypeArr() {
case 'varbinary' : return [SQLSRV_PHPTYPE_STRING(SQLSRV_ENC_CHAR), SQLSRV_SQLTYPE_VARBINARY];
case 'date' : return [SQLSRV_PHPTYPE_DATETIME, SQLSRV_SQLTYPE_DATE];
case 'datetime2' : return [SQLSRV_PHPTYPE_DATETIME, SQLSRV_SQLTYPE_DATETIME2];
case 'datetime' : return [SQLSRV_PHPTYPE_DATETIME, SQLSRV_SQLTYPE_DATETIME];
case 'time' : return [SQLSRV_PHPTYPE_DATETIME, SQLSRV_SQLTYPE_TIME];
case 'money' : return [SQLSRV_PHPTYPE_FLOAT, SQLSRV_SQLTYPE_MONEY];
case 'bit' : return [SQLSRV_PHPTYPE_INT, SQLSRV_SQLTYPE_BIT];
Expand Down