@DrewDowling
-------------------------------------------------------------------------------------------------------------------------------
Esri Support Case 1
- Customer was facing the following error while reconciling edits on a branch versioned geodatabase
"Underlying DBMS error [[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Expression type int is invalid for COLLATE clause.] [StreetNameAliasTable]" in ArcGIS Pro.
- Resolution: The issue was resolved after user re-published the service.
-------------------------------------------------------------------------------------------------------------------------------
Esri Support Case 2
- Customer gets this error in both ArcPro 2.9 and 3.1.
- Customer has a version of the database with a large number of feature service edits that cannot be reconciled/posted.
Error when reconciling branch versioned data: Underlying DBMS error [[Microsoft ODBC Driver 17 for SQL Server][SQL Server]Expression type int is invalid for COLLATE clause.]
Resolution: The customer found that reconciling more than 1000 edits at a time caused the reconcile process to fail. They developed a workaround to in which they are only reconciling 1000 (out of the 300 edits in the problematic version) edits at a time.
-------------------------------------------------------------------------------------------------------------------------------
Note: if you still encounter the issue then please open a ticket with Esri Technical Support to investigate the problem further, an Esri Support Engineer will help you troubleshoot the issue.
-------------------------------------------------------------------------------------------------------------------------------
Troubleshooting Tips
Provide Esri Support with the following information to help identify the issue.
1. Capture the ArcSDE Intercept when running ArcGIS Pro.
https://support.esri.com/en-us/knowledge-base/how-to-set-up-an-sdeintercept-log-file-on-a-client-mac...
https://support.esri.com/en-us/knowledge-base/how-to-diagnose-arcsde-connection-and-performance-issu...
Note: Esri Support might ask for the ArcSDE Intercept from the ArcGIS Server machine as well.
2. Capture a SQL Server Trace while running ArcGIS Pro
Create a Trace - SQL Server Profiler | Microsoft Learn
Extended Events replace the deprecated SQL Trace and SQL Server Profiler features.
https://learn.microsoft.com/en-us/sql/relational-databases/extended-events/extended-events?view=sql-...
https://learn.microsoft.com/en-us/sql/relational-databases/extended-events/quick-start-extended-even...
Query Store
https://cloudblogs.microsoft.com/sqlserver/2022/08/18/query-store-is-enabled-by-default-in-sql-serve...
-------------------------------------------------------------------------------------------------------------------------------
| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |