I have always been a fan of dynamic SQL over stored procedures, simply because I felt that I have greater control over what SQL statements I would like to generate in code. And over the years, the gap between the benefits of dynamic SQL vs. stored procedures has also narrowed down.
Note: Now when I say dynamic SQL, I mean the one that uses named parameters ;)
But my current project has made me realized an important benefit of using stored procedures and that is ... when trying to upgrade from a very old SQL Server to a new version, it is difficult to identify which embedded SQL statement will break and it is even more difficult if the SQL statements are built using string concatenation and embedded in legacy VB6 code with no unit test.
Now, the SQL Upgrade Advisor tool will not be able read and 'advise' on these embedded SQL. So, in such scenario, I think using stored procedures would have been much better.
Home » SQL Server » Stored.Procedures
Popular Post
-
via scscreamer I found this posted on facebook today and is a great way to see and art car in the making with time lapse video. Most people...
-
V8 / 3.999 cc / 420 PS / 295 lb/ft (400 Nm) @ 3.900 / 0 - 62 mph (100 km/h): 4,8 s / Vmax: 155 mph (250 km/h) / Limited Edition only for the...
-
Photo: Diane Edwardson, October 10, 2011. Since breaking ground in 2006, the Corralitas Pits of Doom are living up to their name. (Click o...
-
The Land Rover Defender is entering the 2013 model year in Europe with three additional options and a two fresh exterior body colors named ...
-
Lunapillar Mutant Vehicle The Lunapillar is a mobile kinetic sculpture created by Jeff and Lisa Hannan insired by the whimsy of recycled and...
-
Photo: Diane Edwardson, December 22, 2010. There's nothing more iconic than the LA River/Egret/plastic bag/shopping cart photo. (Cl...
-
V12 / 5.967 cc / 654 PS / 572 ft/lb (775 Nm) @ 4.200 / supercharger (click images for a larger view)
-
So,the other day we had a pre-presentation, just to see how the project is going on. i still have to refine some details, but overall, is co...
-
I love stories that can't possibly be true but they ARE! And I love sharing those stories with friends and family. And I'd like to s...
-
Step one is admitting you have a problem. So here goes: I am a book junkie. I love books. I buy them whenever I can. They are the only thing...
No comments:
Post a Comment