{"id":15176450,"url":"https://github.com/erlangbureau/jamdb_sybase","last_synced_at":"2025-10-26T11:31:39.544Z","repository":{"id":10040902,"uuid":"12086279","full_name":"erlangbureau/jamdb_sybase","owner":"erlangbureau","description":"SAP Sybase ASE Database driver for Erlang","archived":false,"fork":false,"pushed_at":"2016-10-20T15:19:00.000Z","size":145,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-30T04:49:43.304Z","etag":null,"topics":["erlang","sybase"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erlangbureau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-13T16:09:20.000Z","updated_at":"2018-03-03T13:42:24.000Z","dependencies_parsed_at":"2022-08-30T08:23:38.912Z","dependency_job_id":null,"html_url":"https://github.com/erlangbureau/jamdb_sybase","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlangbureau%2Fjamdb_sybase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlangbureau%2Fjamdb_sybase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlangbureau%2Fjamdb_sybase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlangbureau%2Fjamdb_sybase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erlangbureau","download_url":"https://codeload.github.com/erlangbureau/jamdb_sybase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238319499,"owners_count":19452346,"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":["erlang","sybase"],"created_at":"2024-09-27T13:04:15.104Z","updated_at":"2025-10-26T11:31:34.263Z","avatar_url":"https://github.com/erlangbureau.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"JamDB Sybase \n============\n[![Build Status](https://travis-ci.org/erlangbureau/jamdb_sybase.svg?branch=master)](https://travis-ci.org/erlangbureau/jamdb_sybase)\n\nJamDB Sybase is a small and fast Erlang driver for SAP Sybase Adaptive Server Enterprise (ASE).\n\nGoals\n=====\n\n* No third-party dependencies.\n* No parameterized module.\n* No process dictionary.\n* No ports.\n* No NIF's.\n* All code written exclusively in Erlang.\n\nGetting Started\n===============\n\n```erl\n\n%% Set connection options\n1\u003e Opts = [\n    {host, \"jamdb-sybase-dev.erlangbureau.dp.ua\"},\n    {port, 5000},\n    {user, \"jamdbtest\"},\n    {password, \"jamdbtest\"},\n    {database, \"jamdbtest\"}\n].\n\n%% Connect\n2\u003e {ok, Pid} = jamdb_sybase:start_link(Opts).\n{ok,\u003c0.36.0\u003e}\n\n%% Simple select\n3\u003e {ok, Result} = jamdb_sybase:sql_query(Pid, \"select 1 as one, 2 as two, 3 as three\").\n{ok,[{result_set,[\n        \u003c\u003c\"one\"\u003e\u003e,\u003c\u003c\"two\"\u003e\u003e,\u003c\u003c\"three\"\u003e\u003e],\n        [],\n        [[1,2,3]]}]}\n\n```\n\nCharacter Encodings\n========\nThe default encoding in Erlang is utf8. So jamdb_sybase sending all strings to the server in utf8. They should by automatically converted to the corresponding encoding by the server. If the database server cannot do so, it generates an error message indicating that character conversion cannot be properly completed.\n\nTDS Protocol References\n=======================\n* [Official TDS 5.0 Specification, version 3.8, January 2006](http://ondoc.logand.com/d/2219/pdf)\n* [FreeTDS Documentation (C)](http://www.freetds.org)\n* [jTDS Documentation (Java)](http://jtds.sourceforge.net/doc.html)\n\nAlternatives\n============\n* [Erlang ODBC](http://www.erlang.org/doc/man/odbc.html)\n* [erlang-db-driver](https://github.com/denglf/erlang-db-driver)\n* [erldb-driver](https://github.com/RYTong/erldb-driver)\n* [ErlSybase](https://github.com/VanyaDNDZ/ErlSybase)\n\nProject Chat Room\n=================\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/erlangbureau/jamdb_sybase?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferlangbureau%2Fjamdb_sybase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferlangbureau%2Fjamdb_sybase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferlangbureau%2Fjamdb_sybase/lists"}