3 ms·
I'd think the SQL statements would be baked into some other program that formats reports based on the SQL one way or the other. The whole program, SQL stateme
by PaulHoule 4y ago
I'd think the SQL statements would be baked into some other program that formats reports based on the SQL one way or the other. The whole program, SQL statements and all, would be managed with git. In Java, for instance, I'd store complex queries in "*.sql" files in the resource directory and have the Java program read them with getResource().
A real long time ago, I worked on a project where we did as much as we could with stored procedures in Microsoft SQL server and we built a script that did "up" and "down" migrations based on SQL code that was checked into Visual Source Safe.
- deleted 4y ago[deleted]
- curl-up 4y agoThanks! In the "modern setup", I guess this maps to queries being in PowerBI (e.g. DAX queries) or Tableau etc. Maybe someone working with these tools on a large scale can confirm this.
- PaulHoule 4y agoI'm not too familiar with those exact tools but really tools like that should let you manage source code with a system like git, historically it's been a problem that many of them don't.