Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've used a lot of databases over the past 25 years. From DBase flat files to the Borland Database Engine to MSSQL (pre and post 2K), Interbase / Firebird, DB2, PostgreSQL, MySql/MariaDb, Sqlite and more. I haven't used MSSQL in a few years and had to dive back into it for an integration project. Oh my, I forgot how user unfriendly it is.

I can't call a stored procedure from a select query? Ok, write a user-defined wrapper function. Oh wait, I can't call a stored procedure from there either. Now I know why the consultants use a VBA script in Excel to load data... it's actually the easiest way, ridiculously convoluted as it is, if your logic is implemented as stored procedures.

I remember the first time I wrote a stored procedure in PostgreSQL. It was the point at which I decided I would never willingly choose MSSQL for a project again. If you write a lot of stored procedures / TSQL in MS SQL Server, do yourself a favor and check out how it is done in PostgreSQL. It's an order of magnitude simpler and saner.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: