{"id":24518831,"url":"https://github.com/wichopy/mssql-server-docker-vscode-macos","last_synced_at":"2026-01-01T23:51:12.265Z","repository":{"id":126340273,"uuid":"140986108","full_name":"wichopy/mssql-server-docker-vscode-macos","owner":"wichopy","description":"Some practice code to experiment with ms sql on MacOS in a VS code + Docker environment","archived":false,"fork":false,"pushed_at":"2018-07-15T03:01:38.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-22T01:47:02.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wichopy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-15T00:04:38.000Z","updated_at":"2024-09-06T22:08:03.000Z","dependencies_parsed_at":"2023-04-26T18:44:33.681Z","dependency_job_id":null,"html_url":"https://github.com/wichopy/mssql-server-docker-vscode-macos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fmssql-server-docker-vscode-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fmssql-server-docker-vscode-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fmssql-server-docker-vscode-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fmssql-server-docker-vscode-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wichopy","download_url":"https://codeload.github.com/wichopy/mssql-server-docker-vscode-macos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243720202,"owners_count":20336775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T01:47:10.156Z","updated_at":"2026-01-01T23:51:12.218Z","avatar_url":"https://github.com/wichopy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft SQL Server + Docker + VS Code + MacOS\n\nThis repo is a reference for connecting to and developing with MS SQL Server in a MacOS / VS Code / Docker environment.\n\n## Run Image\n\nFrom the Microsoft docs:\nhttps://docs.microsoft.com/en-ca/sql/linux/quickstart-install-connect-docker?view=sql-server-linux-2017\n\n`docker run -e ACCEPT_EULA=Y -e SA_PASSWORD=[YOUR_STRONG_PASSWORD] -e MSSQL_PID=Express -p 1433:1433 --name [YOUR_CONTAINER_NAME] microsoft/mssql-server-linux`\n\n## Connect to database using docker + bash:\n\n`docker exec -it [YOUR_CONTAINER_NAME] bash`\n\n`/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P '[YOUR_STRONG_PASSWORD]'`\n\n## VS Code mssql extension:\nFrom the Microsoft docs:\nhttps://docs.microsoft.com/en-us/sql/linux/sql-server-linux-develop-use-vscode?view=sql-server-linux-2017\n\nCreate a new profile cmd + shift + P \u003e MS SQL: Connect\nFollow prompts for database configurations\n\nOpen script file and hit cmd + shift + E to execute a query.\n\nHave the option to right click on results and save queries as json\n\n## Sample Scripts\n\nThis repo contains some very basic scripts to create a data base, create a table, insert into a table, and select from a table.\n\nTry executing scripts from the docker bash and within VS Code using the mssql extension.\n\nImportant: Each script needs to start with a USE [TABLE_NAME] for the script to execute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichopy%2Fmssql-server-docker-vscode-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwichopy%2Fmssql-server-docker-vscode-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichopy%2Fmssql-server-docker-vscode-macos/lists"}