Giter VIP home page Giter VIP logo

Comments (9)

coreyshuman avatar coreyshuman commented on June 12, 2024 1

We should also include resources for T-SQL. It's got quite a few syntactical differences and additional features compared to the Postgres SQL flavor, which would be good to know about if you're going from one to the other.

from standards-and-practices.

Karvel avatar Karvel commented on June 12, 2024 1

Also, the Shift3 dotfiles project sets up PostgresSQL (and Mongo). Many new hires are installing that as it is part of the onboarding process. It's worth including reference to it since it takes care of Postgres on Macs and (many varieties of) Linux.

from standards-and-practices.

michaelachrisco avatar michaelachrisco commented on June 12, 2024

@ryekerjh Ive always thought that Digital Ocean had some of the better docs regarding the installation process on the Linux side: https://www.digitalocean.com/community/tutorial_collections/how-to-install-and-use-postgresql Maybe we can start with that?

from standards-and-practices.

michaelachrisco avatar michaelachrisco commented on June 12, 2024

I am thinking for MSSQL, we could go over how to create it and which version one should chose for a project via:

  1. Developer edition
  2. Express
  3. MS Server

I am also thinking Microsoft own documentation may be the best starting point for this:
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
They even have a docker instance.

Thoughts? What has been the hardest part of setting up a MSSQL instance in past projects?

Would we also want to expose the developer to SSMS at the same time or in a separate page?

from standards-and-practices.

coreyshuman avatar coreyshuman commented on June 12, 2024

Generally if we're using MSSQL, it's because a client is self-hosting their infrastructure. In those cases we would be connecting to SQL Server in a Windows environment, often on a private network through a VPN.

I think we should hit this from two angles:

  • If you're developing on Windows, for Windows, use the latest SQL Server Developer edition and SSMS (or dbeaver).
  • If you're developing NOT on Windows, or not FOR windows, use a dockerized MSSQL instance (and SSMS or dbeaver).

How do those sound as starting points?

from standards-and-practices.

michaelachrisco avatar michaelachrisco commented on June 12, 2024

We should also include resources for T-SQL. It's got quite a few syntactical differences and additional features compared to the Postgres SQL flavor, which would be good to know about if you're going from one to the other.

Thats a good idea. MSSQL, PostgresSQL, MySQL, Oracle, DB2 ....all have slightly different syntax. Im wondering if that should be its own issue as well, since this issue is about the setup process.

from standards-and-practices.

Karvel avatar Karvel commented on June 12, 2024

It might still be worth dockerizing MSSQL. For the .NET Core projects I've done at Shift3, it has been convenient to have the database dockerized, because it allows for portability and development on multiple architectures, including Windows. It's nice to have the option, especially since new developers might join a project and not develop only on Windows. Obviously, this refers to Core and not Framework.

from standards-and-practices.

michaelachrisco avatar michaelachrisco commented on June 12, 2024

For the MSSQL Docker solution, I started to make some instructions, but then ran across the official docs here:
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-docker-container-deployment?view=sql-server-ver15&pivots=cs1-bash

Ill be honest, they are pretty good and no real issues getting it up and running for both 2017 and 2019 versions.

I am thinking of just adding that link to Github like we did with all the other resources on best-practices/database/README.md

Example setup page: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-2017&pivots=cs1-bash

and then making a separate pages describing the differences between the syntax and tools that work well with each setup.

from standards-and-practices.

michaelachrisco avatar michaelachrisco commented on June 12, 2024

I believe setting up SQL is complete. I believe we can move on to T-SQL and other referenced projects.

from standards-and-practices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.