I crate a table value function and used it in my c# program.
Who know that what happen when we modify a function?
What can i do to my execute_time always be 6 seconds?
I had the same problem and finally I had to write a code to edit the SQL function I wanted when starting the C# program.
when you run the first time CPU takes time to figure out how to run a query.SQL Server uses memory to cache execution plans to save time the next time you run the query. source of the information is blog read this blog you will get more info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With