1
vote
Accepted
Datetime2 in SQL 2014 Vs SQL 2022
Will there be any simple fix to this?
The only 'simple fix' is to run the database at a compatibility level below 130 until your code is ready for the behavioural changes.
For example:
ALTER DATABASE ...
1
vote
Datetime2 in SQL 2014 Vs SQL 2022
The simplest fix is to cast or convert DateTime2 columns to a uniform precision as DATETIME2(3) in your queries, however, this is short-term. You can use the CONVERT or CAST function to mimic SQL ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sql-server-2014 × 2764sql-server × 2325
availability-groups × 211
performance × 169
t-sql × 153
sql-server-2012 × 132
backup × 102
query-performance × 88
ssms × 77
execution-plan × 76
permissions × 74
sql-server-2008-r2 × 70
sql-server-2016 × 69
restore × 64
ssis × 61
index × 60
transaction-log × 60
stored-procedures × 57
linked-server × 57
clustering × 53
security × 51
transactional-replication × 51
optimization × 50
partitioning × 45
replication × 44