Strange: apm generated some SQL query statements that are too long

service version: .net core 2.1

code:
https://paste.ubuntu.com/p/NtMRvpRfwP/

SQL:


Why is there such a long SQL statement?

Hi @wajika,

unfortunately the Firefox link seems to expire so I haven't seen the captured SQL statement, but I looked at the code you linked.

The way this works is that EF Core creates the SQL queries for you based on your C# code and the agent simply captures the generated SQL statement. I assume the reason for a long statement is that your C# code made EF Core to generate such a query.

Was there a specific problem or is it just "long" and looks bad?

google drive
pcloud link
I think it is too long
@GregKalapos

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.