IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Are stored procs "hiding functionality"?
Tossing my two cents in...

Personally, I prefer to not use stored procedures, because I haven't figured out how to write unit tests for stored procedures. (Note: I'm not asserting that it's impossible to unit test stored procs, but just saying I don't know how to do it.) I'm a Java guy by training, and a Groovy fan these last few years, but truth is, I don't sling that much code anymore. But what I teach the teams I work with in my role as ScrumMaster and/or DevOps Dude is that all code should be unit tested.

I also echo what Scott said -- All code should be managed in the same source repository, and all deployments should be handled the same. For deploying updates to the database, I currently use and recommend Flyway. When used along with Maven/Gradle as a build tool, it's just another CLI arg: ./gradlew clean test flywayMigrate.
-Mike

@MikeVitale42
@AgileFortune

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New I used utPLSQL in a former life.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
     Are stored procs "hiding functionality"? - (drook) - (23)
         wag, the same as a shared library, you dont know where it came from -NT - (boxley)
         Interesting question. - (Another Scott) - (1)
             Better to manage that sort of problem through services - (malraux)
         Depends on how they're managed. - (malraux) - (10)
             And don't forget about sp's providing better performance on the database. -NT - (mmoffitt) - (9)
                 That depends - (malraux) - (8)
                     For OLTP applications, I disagree, with MS Sql Server anyway. - (mmoffitt) - (7)
                         Performance is the least of my concerns at this point - (drook) - (1)
                             Until it isn't any more. :-) - (malraux)
                         Performance != throughput - (malraux) - (4)
                             Interesting - (drook) - (2)
                                 I've looked at DB scale out, though not recently. - (static)
                                 Eventually the amount of work exceeds the capacity of a single machine to do it - (malraux)
                             sure, lets take the speed out of the cpu and replace it in multiple small connected units, :-) -NT - (boxley)
         Implementation detail, someone else's problem. - (pwhysall)
         Who is responsible for what? - (crazy) - (5)
             I'm coming down on the side of your data integrity comment - (drook) - (4)
                 Sounds like a management problem. - (static) - (2)
                     You think? - (drook) - (1)
                         Not surprised at all. - (static)
                 Someone's going to be writing something that deals with integrity. - (malraux)
         Re: Are stored procs "hiding functionality"? - (mvitale) - (1)
             I used utPLSQL in a former life. - (malraux)

Fight me!
68 ms