From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b26adfb3d6ee3dbd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Q: Open-source to access MS SQL server 2000/2005 DBs from Ada ? From: Georg Bauhaus In-Reply-To: <1vdnmrjvr6pq4$.14wkok66ka5qw.dlg@40tude.net> References: <442afe28_1@news.bluewin.ch> <1vdnmrjvr6pq4$.14wkok66ka5qw.dlg@40tude.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1143723012.8999.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Date: Thu, 30 Mar 2006 14:50:12 +0200 NNTP-Posting-Date: 30 Mar 2006 13:43:56 MEST NNTP-Posting-Host: 4af3d127.newsread2.arcor-online.net X-Trace: DXC=^4WfTS7]mf3gL1_>^S7Mi=Q5U85hF6f;4jW\KbG]kaM8DAHcn;Zl5e8EUk<]:HK631hP3YJKgE\j On Thu, 2006-03-30 at 09:31 +0200, Dmitry A. Kazakov wrote: > On Wed, 29 Mar 2006 23:37:23 +0200, Gautier wrote: > > > What do you recommend as an open-source, reliable package (or set > > of packages) to access MS SQL server 2000/2005 DBs (hopefully these > > versions are not of importance) ? > > GNADE (http://gnade.sourceforge.net) Yes, although this choice will affect portability, because for example the ODBC binding requires 64 bit datatype declarations to work (SQLBIGINT). Not all Ada compilers support this range. > > I would use GNAT from the Ada side but I would prefer a > > compiler-independent solution, if it exists. > > As far as I can tell, that should be no problem. The sources announce that "-- GNADE is implemented to work with GNAT, the GNU Ada compiler. --" GNADE is GNAT dependent in a few places. Some GNAT packages are with'd in bodies. (The vendor specific 'Img attribute seems to make it into production software, in spite of its documented purpose (quick debugging function for the lazy typist). (Is Microsoft's language modification habit at work here? :-) :-))) You could make a few changes to the GNADE sources, and get a plain Ada program for "32 bit compilers", if the GNADE licensing conditions meet your needs. GNADE *is* a great framework for SQL database access. -- Georg