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
-
The Carrera of America booth at IHobby 2010 in Rosemont, Ill. There are a number of new cars on display including the new F1's, new Asto...
-
We first heard about Chrylser's plug-in car plans at the end of September. Less than two months later Chrysler's EV guy Lou Rhodes h...
-
V8 / 5.354 cc / 284 PS / 360 ft/lb (488 Nm) @ 3.000 / 0 - 62 mph (100 km/h): 6,2 s / Vmax: 138 mph (222 km/h) (click images for a larger v...
-
T he thing that worries me most has happened - I lost my voice today. I was unable to sleep well last night due to clogged phlegm in my thro...
-
G ood news for XBOX 360 owners! Peter Moore just announced that Microsoft is extending the warranty period to 3 years for all X360's for...
-
originally built for street and railroad track cruising, and the great Handcar Regatta http://krankboomclank.com/portfolio/hennepin-crawler/
-
Good news! i was one of the 12 lucky students choosen for the Berman Autostyle Design Contest. Berman is a company that organizes a design c...
-
The only thing this guy got right about his Car with a Park Bench Spoiler is the shape. Everything else about this is wrong in every way if ...
-
Kumho Ecsta SPT KU31 385/15 ZR 22 - semi-runflat technology (click images for a larger view)
-
M y 360 finally died with what they called the " 3ROD " today. What's 3ROD ? 3 Red -lights Of Death. Yup! 3 *blinkie* red lig...
No comments:
Post a Comment