Skip to content

Commit e2b0cb7

Browse files
committed
Feature: Pull request: #57
MSSQL: Added support for MSSQL Server datetimeoffset datatype. Thanks to fvalenduc for the pull request
1 parent 76f4e3a commit e2b0cb7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sql12/core/doc/changes.txt

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Not yet released, available in our GIT repository, snapshots and future releases
66

77
Enhancements:
88

9+
Pull request: https://github.com/squirrel-sql-client/squirrel-sql-code/pull/57
10+
MSSQL: Added support for MSSQL Server datetimeoffset datatype.
11+
Thanks to fvalenduc for the pull request
12+
913
https://github.com/squirrel-sql-client/squirrel-sql-code/issues/56
1014
Aliases can be switched to read-only. If an Alias is switched to read-only its Sessions are
1115
- only allowed to execute SQLs that start with the SELECT keyword,

sql12/core/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/CellComponentFactory.java

+1
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ private static IDataTypeComponent getGenericDataType(JTable table, ColumnDisplay
859859
case Types.TIMESTAMP:
860860
case -101: // Oracle's 'TIMESTAMP WITH TIME ZONE' == -101
861861
case -102: // Oracle's 'TIMESTAMP WITH LOCAL TIME ZONE' == -102
862+
case -155: // MSSQL Server's 'TIMESTAMP WITH LOCAL TIME ZONE' == -155
862863
dataTypeComponent = new DataTypeTimestamp(table, colDef);
863864
break;
864865

0 commit comments

Comments
 (0)