News for hackers. Stuff that matters.
Re:SQL Notebook by Pxtl on Tuesday May 09, 2017 @05:31PM (#14303974)
> Also, SQL Server is awful at importing/exporting data directly. Almost all forms are broken in various ways and are a source of endless grief. The only reliable built-in way is to use SSIS which is like using a 200-ton tank for a paperweight.

So much this. BCP is inferior to 5 lines of C# code, the tools for importing and exporting data in SSMS are buggy and cumbersome, SSIS is a gigantic monster. Simple "Export the results of my query into an INSERT statement" is a moronically obvious workflow and is non-existent.

I've read that the tools division of MSSQL was running on a skeleton crew for a long time, and it shows.

Re:SQL Notebook by mistermann on Tuesday May 09, 2017 @05:52PM (#14304116)
Despite everyone saying SSMS is hands down the best database IDE, while this may be true it is also true that MSSQL tooling is a train wreck compared to what it could be. It almost seems Microsoft intends to keep it this way, perhaps because they'd have to finally admit to the decade of neglect? Who knows the exact reason, but it's a sad situation.
Re:SQL Notebook by infogulch on Tuesday May 09, 2017 @06:14PM (#14304281)
What kind of tooling are you speaking of? Honest question.
Re:SQL Notebook by Pxtl on Tuesday May 09, 2017 @07:06PM (#14304630)
Sql Server Reporting Services is great but the server website was obviously mid-2000s until very recently, even containing markup that wouldnt render in Chrome.

SSIS is a hellscape of unnecessary designers for an ETL framework, and generates ultra-brittle packages that crash if the slightest schema tweaks happen.

SSDT stores your schema and publishes diffs for easy deployment, but will gobble up all your RAM for half an hour to compile... if it doesn't crash.

And SSMS has the worst tabbed interface ever for managing queries.

Re:SQL Notebook by infogulch on Wednesday May 10, 2017 @10:38AM (#14308524)
I agree with you on all points. Products on the periphery of SQL Server have been severely neglected for years. There is a replacement for some of SSRS in PowerBI and SSAS, which is actually pretty nice. If I'm not mistaken, people serious about version control and deployment in SQL Server use redgate software.

My question is how other databases fare in these areas. I'm not familiar with any solutions for Reporting UI, ETL, and Schema Version Control in MySQL or PostgreSQL. What built-in tools do other databases have that outperform SQL Server's (obviously crumbling) functionality?

Re:SQL Notebook by mistermann on Thursday May 11, 2017 @01:24AM (#14314018)
The general consensus is usually that this MS tooling, yes the one just described, is very good! Certainly far better than the competition. It boggles the mind.
Re:SQL Notebook by jetti on Wednesday May 10, 2017 @02:24PM (#14310384)
>Simple "Export the results of my query into an INSERT statement" is a moronically obvious workflow and is non-existent.

I've only used SSIS for a few months now, but wouldn't this just be a simple Data Flow Task for that. Now, I'm not saying I would use SSIS for that (because I frankly hate SSIS) but it is a trivial thing to do.

Re:SQL Notebook by voltagex_ on Tuesday May 09, 2017 @11:28PM (#14305719)
I've never been able to match bcp's speed when importing large amounts of data, though.
Re:SQL Notebook by Pxtl on Tuesday May 09, 2017 @11:48PM (#14305792)
I've never had an import job where run time was a key concern... but the old ADO.Net Bulk Insert thingy has always been good enough when Entity Framework was too slow (which, for inserts, it generally is).
Re:SQL Notebook by flukus on Wednesday May 10, 2017 @01:18AM (#14306071)
How large a job are you talking? Did you use a transaction? A transaction + being in a nearby location has been good enough for every import I've done (millions of rows).