| CARVIEW |
ms-tds: TDS Protocol implemented in Haskell
Modules
[Index] [Quick Jump]
- Database
- Tds
- Database.Tds.Message
- Database.Tds.Message.Client
- Database.Tds.Message.DataStream
- Database.Tds.Message.Header
- Database.Tds.Message.Prelogin
- Database.Tds.Message.Server
- Primitives
- Database.Tds.Primitives.Collation
- Database.Tds.Primitives.DateTime
- Database.Tds.Primitives.Decimal
- Database.Tds.Primitives.Fixed
- Database.Tds.Primitives.Float
- Database.Tds.Primitives.Money
- Database.Tds.Primitives.Null
- Database.Tds.Transport
- Database.Tds.Message
- Tds
Downloads
- ms-tds-0.4.0.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | array, base (>=4.7 && <5), binary (>=0.8.1.0), bytestring, crypton, crypton-x509-store, crypton-x509-system, data-default-class, mtl, network, template-haskell, text, time, tls, uuid-types [details] |
| License | BSD-3-Clause |
| Copyright | 2019 Takamasa Mitsuji |
| Author | Takamasa Mitsuji |
| Maintainer | tkms@mitsuji.org |
| Uploaded | by tkmsm at 2024-05-18T22:55:48Z |
| Category | Database |
| Home page | https://github.com/mitsuji/ms-tds#readme |
| Bug tracker | https://github.com/mitsuji/ms-tds/issues |
| Source repo | head: git clone https://github.com/mitsuji/ms-tds |
| Distributions | NixOS:0.4.0.3 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 4755 total (30 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2024-05-18 [all 1 reports] |
Readme for ms-tds-0.4.0.3
[back to package description]ms-tds: TDS Protocol implemented in Haskell
This library is a Haskell implementation of the Tabular Data Stream (TSD) protocol used by Microsoft SQL Server and others.
Related projects
-
mssql-simple : SQL Server client library implemented in Haskell
https://github.com/mitsuji/mssql-simple -
mssql-simple-example : Usage example of mssql-simple
https://github.com/mitsuji/mssql-simple-example
Advantage
-
ODBC independent
-
Implemented only with Haskell (Independent of other languages and environments)
-
Supports encryption at login
-
Implemented as binary package compatible data types
-
Intended for use in both Client library and Server library implementations
-
7.1 Revision 1 (SQL Server 2000 SP1 and later)
-
Tested with SQL Server 2008 R2, SQL Server 2014
Todo
-
Write tests
- Write general tests
- Test legacy data types
-
Implement data types
- AltMetaData
- AltRow
-
Implement Binary.put interface of
- TokenStreams
-
Implement Binary.get interface of
- Login7
- SqlBatch
- RpcRequest
-
Implement more detailed types
- Collation(DataStream)
- GUID(Prelogin,DataStream)
- NONCE(Prelogin)
- TimeStamp(RCDlarge)
- Login7: TDS Version
- Login7: client program version
- Login7: timezone
- Login7: language
- TSEnvChange: Type
- TSLoginAck: Interface
- TSReturnValue: Status
-
Implement Flag interfaces
- Header status
- PLOEncryption
- PLOMars
- Login7 flag1
- Login7 flag2
- Login7 sql type
- Login7 flag3
- RpcReqBatchProcId OptionFlags
- RpcReqBatchPhrocName OptionFlags
- RpcReqBatchParam StatusFlag
- AltMetaDta Flags
- MetaColumnData Flags
- TSDone status
- TSDoneInProc status
- TSDoneProc status
- TSReturnValue Flags
-
ETC
-
Encrypt entire connection support
-
Mars support
-
SSPI support
-
FedAuth support
-
TDS protocol versions other than 7.1
-
Distributed Transaction
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tds/b4b78564-5440-4fc0-b5ef-c9e1925aaefe
-