by blahblahOOO · 12y ago · 0 comments
I stopped reading after the very first bullet, and just skimmed through most of the titles.
First, you can import/export csv's. Hell all you need to do to export, is right click the view and hit export, then select .csv.
Second, you don't want such a simple installation, MSSQL has several options/packages/configurations. If you don't need it you turn it off, otherwise you will be charged a fee.
That being said, if you have chocolatey installed in powershell. It's also a one line command, and you can configure your own custom installation command.
choco install MsSqlServer2012Express
Third, I don't feel like correcting the rest of your mistakes.
I'm not shitting on Postgres, it's pretty awesome, but out of the box MSSQL is better. Especially when you have hundreds of severs running it.
I don't know about most of the other stuff, honestly. I've never felt the need to write scripting code into database queries or write my own aggregate functions, so I have no idea what would be better at that. I'll take his word that Postgres is better, and grab it if I ever find myself having to do that.
Are you saying there is no programatic interface for exporting csv? You must rely on the administration tool to generate the csv for you???
For example:
bcp "SELECT blah... FROM blah" queryout C:\..\blah.csv -c -t, -T –S<servername>
When exporting data to CSV where a text field contains the delimiter, PostgreSQL will do the correct thing every time: wrap that field in quotes. MS SQL...will not.