{"id":15002992,"url":"https://github.com/findmypast-oss/mssqlex","last_synced_at":"2025-08-21T17:32:04.912Z","repository":{"id":62429927,"uuid":"82161041","full_name":"findmypast-oss/mssqlex","owner":"findmypast-oss","description":"Microsoft SQL Server Adapter for Elixir","archived":false,"fork":false,"pushed_at":"2019-12-24T11:38:07.000Z","size":143,"stargazers_count":41,"open_issues_count":5,"forks_count":21,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-04-14T06:00:10.001Z","etag":null,"topics":["ecto","elixir","hex","microsoft-sql-server","mssql-database","odbc","sql-server"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/findmypast-oss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-16T09:04:54.000Z","updated_at":"2024-03-22T19:48:16.000Z","dependencies_parsed_at":"2022-11-01T20:04:37.189Z","dependency_job_id":null,"html_url":"https://github.com/findmypast-oss/mssqlex","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findmypast-oss%2Fmssqlex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findmypast-oss%2Fmssqlex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findmypast-oss%2Fmssqlex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findmypast-oss%2Fmssqlex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/findmypast-oss","download_url":"https://codeload.github.com/findmypast-oss/mssqlex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230174963,"owners_count":18184924,"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":["ecto","elixir","hex","microsoft-sql-server","mssql-database","odbc","sql-server"],"created_at":"2024-09-24T18:54:44.522Z","updated_at":"2024-12-20T02:06:50.789Z","avatar_url":"https://github.com/findmypast-oss.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mssqlex\n\n[![Build Status](https://travis-ci.org/findmypast-oss/mssqlex.svg?branch=master)](https://travis-ci.org/findmypast-oss/mssqlex)\n[![Coverage Status](https://coveralls.io/repos/github/findmypast-oss/mssqlex/badge.svg)](https://coveralls.io/github/findmypast-oss/mssqlex)\n[![Inline docs](http://inch-ci.org/github/findmypast-oss/mssqlex.svg?branch=master)](http://inch-ci.org/github/findmypast-oss/mssqlex)\n[![Ebert](https://ebertapp.io/github/findmypast-oss/mssqlex.svg)](https://ebertapp.io/github/findmypast-oss/mssqlex)\n[![Hex.pm Version](https://img.shields.io/hexpm/v/mssqlex.svg)](https://hex.pm/packages/mssqlex)\n[![Hex.pm Downloads](https://img.shields.io/hexpm/dt/mssqlex.svg)](https://hex.pm/packages/mssqlex)\n[![License](https://img.shields.io/hexpm/l/mssqlex.svg)](https://github.com/findmypast-oss/mssqlex/blob/master/LICENSE)\n\nAdapter to Microsoft SQL Server. Using `DBConnection` and `ODBC`.\n\nIt connects to [Ecto](https://github.com/elixir-ecto/ecto) with [MssqlEcto](https://github.com/findmypast-oss/mssql_ecto).\n\n## Installation\n\nMssqlex requires the [Erlang ODBC application](http://erlang.org/doc/man/odbc.html) to be installed.\nThis might require the installation of an additional package depending on how you have installed\nErlang (e.g. on Ubuntu `sudo apt-get install erlang-odbc`).\n\nMssqlex depends on Microsoft's ODBC Driver for SQL Server. You can find installation\ninstructions for [Linux](https://docs.microsoft.com/en-us/sql/connect/odbc/linux/installing-the-microsoft-odbc-driver-for-sql-server-on-linux)\nor [other platforms](https://docs.microsoft.com/en-us/sql/connect/odbc/microsoft-odbc-driver-for-sql-server)\non the official site.\n\nThis package is availabe in Hex, the package can be installed\nby adding `mssqlex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:mssqlex, \"~\u003e 1.1.0\"}]\nend\n```\n\n## Testing\n\nTests require an instance of SQL Server to be running on `localhost` and a valid\nUID and password to be set in the `MSSQL_UID` and `MSSQL_PWD` environment\nvariables, respectively.\n\nThe easiest way to get an instance running is to use the SQL Server Docker image:\n\n```sh\nexport MSSQL_UID=sa\nexport MSSQL_PWD='ThePa$$word'\ndocker run -e 'ACCEPT_EULA=Y' -e SA_PASSWORD=$MSSQL_PWD -p 1433:1433 -d microsoft/mssql-server-linux\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindmypast-oss%2Fmssqlex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffindmypast-oss%2Fmssqlex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindmypast-oss%2Fmssqlex/lists"}