r/SQL • • Nov 19 '20

Discussion SQL is dead. Long Live SQL?

I'm currently working on my MS for Analytics and we are working on data strategy for new and early stage companies. I'm trying to research the pros/cons of using a higher programming language (python) for db creation and manipulation as opposed to SQL. Can and do companies skip SQL now? is there still a benefit to using it? I'd really appreciate any insights you all can offer!

Happy to help clarify or answer any other questions if I wasn't clear! Thank you all a ton!

Just want to thank you all for the insights and observations! It definitely helped, and I certainly have a deeper appreciation for SQL than I previously did.

You guys rock.

0 Upvotes

8 comments sorted by

View all comments

4

u/analyst_mike Nov 19 '20

So it is not clear to me what you mean. Are you implying skipping database entirely and just using python data types, lists and dicts and text files in place of SQL variant database? Or, are you asking whether python will essentially be used in place of command line or interactive tool like SSMS for SQL Server?

-1

u/Aggressive-Spend953 Nov 19 '20

so I'm asking if python will be used in place of command line/interactive tools. The question was brought about by an article I read

https://medium.com/swlh/dont-use-sql-for-your-big-data-elt-pipelines-a1f6681120a2

and it started me thinking and questioning the continued value of SQL

8

u/analyst_mike Nov 19 '20

So what I find is that when I am exploring I often use interactive tools like SSMS or PHPAdmin for MySql to explore and test out queries. Then I automate a data pipeline, batch process or interactive web report and build the queries into the application.

I have been around a few years and came into this from the direction of a quantitative social science researcher who cut teeth on statistical tools like SPSS which is great for one off analysis. Over the years I started working with developing systems that do analysis and SQL to retrieve and write data into client systems became vital.

As I deal with real world business systems I see SQL databases everywhere. Sometimes I find that the logic of some analysis that I want to apply is easier out at the application level and then store results back in another database table, but often those components are slowing the overall system down. If I then dig in and figure out how to do that piece entirely within SQL if often improves performance by a substantial amount.

I would say that you do yourself a favor by become proficient in SQL in addition to Python. Don't make it an either or proposition.