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
-
Located in Horton Plaza, under the garish glare of a Planet Hollywood sign, the Pacific Milestone seems painfully out of place today. Howeve...
-
Anderson Leão on carbonmade. Keywords: concept vehicle art by anderson leao works done in pen markers photoshop studied mobilities design a...
-
V8 / 4.973 cc / 231 PS / Vmax: 146 mph (235 km/h) (click images for a larger view)
-
V8 / 4.700 cc / 700 PS / 627 lb/ft (850 Nm) / Vmax: 230 mph 370 km/h (click images for a larger view)
-
Dhilip sent me this vehicle. Nice! Keywords: concept military 3d 2d concept art design by dhilip kumar on concept vehicles 32 wheel missile...
-
Vadim, creator of the Tango commercial, has just graphically assembled the whole roll cage with door bars. Because the door bars were integr...
-
V12 / 5.576 cc / 385 PS / 406 ft/lb (550 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 6,6 s / Vmax: 155 mph (250 km/h) (click images for a larger ...
-
Cool ship and future concept cars posts by Edmund Keefe. Keywords: 3d three dimensional concept vehicle and futuristic military transporta...
No comments:
Post a Comment