Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Introducing the SQL Server 2005 Service Broker
Sep 11, 2006 at 11:50 AMPolita Paulus - BLINQ
Jul 23, 2006 at 12:02 PMThanks for the answer about using SPs with LINQ and Blinq. For clarification though, am I to understand that if you do standard LINQ queries like "from c in .... where .... select...." that it will not be optimized in SQL sql server? If I'm understanding that correctly, it is simply passing "select ... from ... where..." to SQL server as an ad hoc query if you're not calling SPs.
Thanks again.
Polita Paulus - BLINQ
Jul 22, 2006 at 9:48 AMHowever, one problem I can see remains: nobody who is serious about what they're doing is going to be writing ad hoc queries inside their general purpose programming language. They're going to be calling stored procedures that are already precompiled. When I watched Anders, while he had his log enabled, I could see the raw SQL that the LINQ object was sending to the SQL server.
So, my question is this: Are LINQ and BLINQ sending actual SQL queries to the SQL server that cannot be optimized unless they're the exact same query and have already been precompiled? If so, it seems like there's no way for SQL to have an execution plan ready ahead of time. How do LINQ and BLINQ address this?