News for hackers. Stuff that matters.
Re:Spreadsheets: Functional Programming for the Masses (2014... by magicalhippo on Tuesday November 10, 2020 @09:20AM (#25046193)
Guy at support uses Excel to generate SQL statements.

Typically when we have a request like "oops, we accidentally entered wrong weights for these articles, please fix", where he gets an Excel sheet of article numbers and correct weights. But thanks to the flexible nature, toss in a little logic when needed for example, he can quickly churn out some non-trivial SQL to do the job.

Of course may other ways to do this kinda job, but for him this is quite productive. He starts by writing the query he needs for doing one update, then just stuff it into Excel, replacing fixed values with cell references and copy formula down all rows and copies result back into interactive SQL editor.

There are no comments on this comment yet.