Add SQL Server datetime type variants to type handling
Adds DATETIME, DATETIME2, SMALLDATETIME, and DATETIMEOFFSET cases to the TIMESTAMP branch so SQL Server datetime columns are handled correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ff4cf25585
commit
f632a77e8e
@ -363,6 +363,10 @@ public class jrunner {
|
||||
nc = "'" + nc + "'";
|
||||
break;
|
||||
case "TIMESTAMP":
|
||||
case "DATETIME":
|
||||
case "DATETIME2":
|
||||
case "SMALLDATETIME":
|
||||
case "DATETIMEOFFSET":
|
||||
nc = rs.getString(i);
|
||||
if (rs.wasNull() || nc == null) {
|
||||
nc = "NULL";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user