Stored Procedures vs. ???
Commenting on my blog entry about generating data layers Jesse wrote, "I don't think entity broker supports stored procs, but they suck anyway" and Frans agreed, "In the next version of LLBLGen I will not generate stored procedures either, just code which at runtime generates an optimized query especially taylored for the situation." This is the first I've read about the move away from stored procedures. I recognize the problems with handcoded SQL statements in the code, but I thought there was agreement that stored procs solved many of these problems. Can someone explain the reasoning behind these statements?
This is my first blog and I'm not sure when I should be asking in the blog and when I should be posting on a forum. Opinions appreciated.
[What I'm reading: Applied Microsoft .NET Framework Programming I read this for the first time last summer and it remains the best .NET book I've read. This is the definitive look into the .NET framework. You'll need other books on Web Forms, Windows Forms and Web Services, but understanding this one will change the way you program. Wow!]