News for hackers. Stuff that matters.
Re:Advanced SQL window function quiz by derefr on Thursday February 08, 2018 @08:36PM (#16337204)
Rather than taking the data out of the database, how about plugging your programming language of choice into the database?

For Postgres, for example, you can write stored procedures using any of these: https://www.postgresql.org/docs/9.1/static/external-pl.html

Re:Advanced SQL window function quiz by atwebb on Thursday February 08, 2018 @09:49PM (#16337538)
Not positive in PostGres, in MSSQL you still wind up copying the data and using additional resources, it's just handled for you. I'm a big fan of scripting in DBs becoming a thing (and a little scared) but it's not all roses (yet). You would also loose optimizer "fixes" right?
Re:Advanced SQL window function quiz by memco on Thursday February 08, 2018 @09:38PM (#16337484)
The PHP version looks like it hasn't been touched since 2011 and the Python link is dead. Doesn't give much confidence that this is a viable and supported pathway to Db <-> Application communication.
Re:Advanced SQL window function quiz by ianamartin on Friday February 09, 2018 @01:28AM (#16338343)
AWS RDS doesn't support any of the PL extensions for Postgres. And unfortunately, that's a real killer for a lot of people.

But when I've been able to use Python functions directly inside my SQL code, it is a thing of absolute beauty.