Ask HN: Backend developers of HN, where and how often do you still use SQL?
1–10 of 20 posts
Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#2Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#3Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#4In my opinion, I feel more comfortable tuning a raw SQL query to get better performance than tuning the ORM to work in a very specific way to run the very same query and get the performance benefit. However, for easy selects/updates it's more convenient using the ORM and getting the benefit of serializing the results to a domain entity
Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#5Most of the time on $client project we use a query builder, so it’s expressing the intended query as methods.
You’d have a hard time using it without understanding what operations you want - it just handles all the repetitive stuff for you.
Then there’s times when we need a query that’s too complex for what the QB methods support, so we use the custom query mode, where we can mix specific parts of a custom query with some of the stuff the QB generates.
Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#6Many of my etl processes are based on stored procedures. These are large transfers usually via bulk copy (bcp).
Crud operations are done via orms (Entity Framework) or a light orm, Dapper which requires sql statements at times.
Generally, I try to avoid complex sql statements though they are necessary.
Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#7Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#8Re: Ask HN: Backend developers of HN, where and how often do you still use SQL?
#9Are you in doubt between a plain file and sqlserver and you think it doesn't worth the hassle of installing a full blown sql server, making backups regularly, etc.? use sqlite.