This explains SQL stored procedures and their advantages.

  • @[email protected]
    link
    fedilink
    English
    42 years ago

    My boss is a DB dev and requires that all our database transactions go through stored procedures. Oh, and those stored procedures contain all our business logic.

    • @[email protected]
      link
      fedilink
      English
      7
      edit-2
      2 years ago

      My condolences. This is the stuff Robert C. Martin talks about in his book “Clean Architecture”; database vendors locking you into their tech.

      Your boss isn’t just a developer, he’s a *db developer *. From his perspective, the database is a god rather than a means to store information.

      I should add onto my original post that the queries should strive to be as database agnostic as possible. This alleviates a lot of pain when the company decides to move from one DBMS to another.

      Is it safe to assume your stored procedures have lots of DBMS specific functions and syntax sprinkled among the code?