ms-tds: TDS Protocol implemented in Haskell

[ bsd3, database, library ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/mitsuji/ms-tds#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Change log ChangeLog.md
Dependencies array, base (>=4.7 && <5), binary (>=0.8.1.0), bytestring, crypto-random, data-default-class, mtl, network, template-haskell, text, time, tls, uuid-types, x509-store, x509-system [details]
License BSD-3-Clause
Copyright 2019 Takamasa Mitsuji
Author Takamasa Mitsuji
Maintainer tkms@mitsuji.org
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
Uploaded by tkmsm at Sat Jun 22 07:22:52 UTC 2019
Distributions NixOS:0.1.0.2
Downloads 165 total (117 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-06-22 [all 1 reports]

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ms-tds-0.1.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

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
  • Transaction support
  • Implement data types
    • AltMetaData
    • AltRow
  • 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
    • Login7: collation
    • RpcReqBatchProcId: ProcID
    • TSEnvChange: Type
    • TSLoginAck: Interface
    • TSReturnValue: Status
  • Implement Flag interfaces
    • Header status
    • PLOEncription
    • 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