Re:Code in Database vs. Code in Application
by lesserknowndan on Monday July 11, 2022 @07:58AM
(#32054954)
Can you please provide some examples (anything other than Oracle)?
I do a lot of programming with stored procedures in MySQL and being able to single step stored procedure code is something I’d like to try.
- MS SQL, https://www.sqlshack.com/debugging-stored-procedures-sql-ser...
- DB 2 on z/OS, https://ibm.github.io/db2forzosdeveloperextension-about/docs...
- Informix, https://www.ibm.com/docs/en/informix-servers/12.10?topic=dsr...
Basically all enterprise level RDMS support debugging them for years.
As for MySQL, this seems to do the trick for VS users, https://dev.mysql.com/doc/visual-studio/en/visual-studio-deb...
I never really used MySQL, so I can't be of much help there.
Yes, you stay away from enterprise level databases, you will get what free beer gets you.
All big name databases have proper IDE tooling with ability to single step stored procedure code.
> Deployment and versioning:
Likewise, there are source control tooling for database schemas on enterprise databases.
> And sure, you may be able to activate an extension for an alternative scripting language with better syntax, but do you really want something like a Python VM running inside of your database?
No, I rather enjoy the advanced GC and JIT capabilities of JVM and CLR implementations.