Skip to content

Commit 36f3e93

Browse files
authored
Merge pull request #99314 from chuckheinzelman/patch-2
Documented rounding known issue for SQL DB
2 parents b29179c + a45ee95 commit 36f3e93

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

articles/synapse-analytics/synapse-link/synapse-link-for-sql-known-issues.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,23 @@ This is the list of known limitations for Azure Synapse Link for SQL.
107107
```sql
108108
EXEC sys.sp_change_feed_disable_db
109109
110+
### DateTime2(7) and Time(7) Could Cause Snapshot Hang
111+
* Applies To - Azure SQL Database
112+
* Issue - One of the preview limitations with the data types DateTime2(7) and Time(7) is the loss of precision (only 6 digits are supported). When certain database settings are turned on (`NUMERIC_ROUNDABORT`, `ANSI_WARNINGS`, and `ARITHABORT`), the snapthot process can hang, requiring a database failover to recover.
113+
* Resolution - To resolve this situation, take the following steps:
114+
1. Turn off all three database settings.
115+
```sql
116+
ALTER DATABASE <logical_database_name> SET NUMERIC_ROUNDABORT OFF
117+
ALTER DATABASE <logical_database_name> SET ANSI_WARNINGS OFF
118+
ALTER DATABASE <logical_database_name> SET ARITHABORT OFF
119+
```
120+
1. Run the following query to verify that the settings are in fact turned off.
121+
```sql
122+
SELECT name, is_numeric_roundabort_on, is_ansi_warnings_on, is_arithabort_on
123+
FROM sys.databases
124+
WHERE name = 'logical_database_name'
125+
```
126+
1. Open an Azure support ticket requesting a database failover. Alternately, you could change the Service Level Objective (SLO) of your database instead of opening a ticket.
110127

111128
## Next steps
112129

0 commit comments

Comments
 (0)