When loading a .sql file in Database Engine Tuning Advisor you get "Failed to parse XML file"
Asked
Active
Viewed 896 times
2 Answers
2
Remove the "GO" at the end of the query (provided it's just a query).

Cameron Castillo
- 2,712
- 10
- 47
- 77
0
"Executing the DTA on the execute statement itself of the stored procedure, rather than the full 'Script to New Query Editor - Execute Stored Procedure' given by right clicking it."

Leo Gurdian
- 2,109
- 17
- 20