History MSSQL modules
2003-01-01
MSSQL::DBlib 1.009 released. There is now only download file for all
binary versions and source code. Likewise only one
README.
News for MSSQL::DBlib
   - Now builds with Perl 5.8. Binary for ActivePerl 8xx available.
- Problem that caused script to fail when run for a second time with
       PerlScript from ISAPI or DTS is now solved. Furthermore, MSSQL::DBlib
       can now be run from concurrent threads from PerlScript. However,
       MSSQL::DBlib does not work with the new use threadin
       Perl 5.8. For more information, see the section
       
       Notes on threading and PerlScript on the man-page for MSSQL::DBlib.
- Added three new functions.
       dbgetpacket,
       dbsetmaxprocs,
       dbgetmaxprocs
- Fixed error in makefile where I attempted to give the DLL a unique
       start adress, but I somehow failed.
- Test scripts now uses Windows authentication by default.
News for MSSQL::Sqllib
- No actual change to source code.
- The use of a default handle is no discouraged. (And with PerlScript
        you must always an explicit handle.)
    
- Minor changes to test scripts. Test scripts now uses Window
        authentication by default.
- Some minor doc enhancements.
2001-05-05
MSSQL::DBlib 1.008 and MSSQL::Sqllib 1.008 released.
News for MSSQL::DBlib
News for MSSQL::Sqllib
   -  sql_one now permits
        more than one result set to be returned, but the total amounts of
        rows returned must still be exactly one. Since SQL Server may return
        an empty result even for a SET statement, it is a bit embarrassing
        that it didn't work this way from the beginning...
   
- The $rowstyleand$resultstyleparameters
       of sql and
       sql_sp can now be
       specified in any order.
- There was a bug in sql and
       sql_sp which caused the
       script to crash when there was no results sets at all, for instance
       because there was a compilation error in the SQL code, and you had
       set the maxSeverity
       in errInfo to 25 to
       prevent any stop on SQL errors, and you had specified a list or a
       hash to receive the return value.
 This is now fixed, and sql and
       sql_sp are now specified
       in this situation to returnundefif you receive the return value
       in a scalar and an empty list/hash in the other cases.
- Fixed problem that prevented
       sql_init to succeed on
       early service packs of SQL6.5.
   
- The test script 3_conversion.t now also works if your OEM charset is
       CP437.
   
Known issues
I have had problems with compatibility between NT4 and Windows 2000 with
Perl 5.005, but no other Perl version. These problems have not been
specifically with MSSQL::*, but more of a general nature. The binary
shipped for AS 5xx is built with NT4. The binaries for ActivePerl 5.6 and
AS 3xx are built with Windows 2000.
2000-09-14
MSSQL::Sqllib 1.007 released.
News for MSSQL::DBlib
   - No actual changes in program code.
   
- Minor documentation updates for SQL 2000.
   
News for MSSQL::Sqllib
   - New handle attribute 
       SQL_version, gives you the SQL Server version.
   
- Message 3622, A domain error occurred is now in
       alwaysPrint by
       default.
   
- Minor adaptions to resolve things that broke with SQL 2000.
   
2000-05-05
MSSQL::DBlib 1.006 and MSSQL::Sqllib 1.006 released.
News for MSSQL::DBlib
    - Compiles and runs with Perl 5.6. Binary for ActivePerl 5.6 available.
    
- Memory leaks in dbnextrow2
        and dbretdata2 fixed.
        The one in dbnextrow2 was fairly expensive. Big kudos to Ilya
        Chelpanov for pointing out the leaks and providing the fixes. Note:
        if you are using old ActiveState Perl 3xx, I'm sorry to tell that the
        fix does not apply.
    
- The module now sets the hostname in the DB-Library login record
        from the environment variable COMPUTERNAME. This happens at initiation
        time, prior to dblogin,
        so you will see the hostname in sp_who et al.
    
- New and enchanced functions:
       dbstrcpy,
       dbiscount,
       dbgetoff
    
- DBSETLFALLBACK was
        not calling it's DB-Library namesake, but the completely wrong routine.
    
News for MSSQL::Sqllib
    - Memory leaks fixed (same as in MSSQL::DBlib, see above).
    
- The errInfo structure
        has a new attribute: 
        errFileHandle, which permits you to direct error messages to a
        file. You should assign the attribute an open file handle. The default
        is STDERR.
    
- Bugfix: sql_sp erroneously
        truncated in parameters of the datatypes text and image to 255 in
        length. Note that the SP still truncates there parameters value if
        the data type is char, varchar, binary or varbinary, since DB-Library
        don't handle longer values for these datatypes.
    
1999-02-01
MSSQL::DBlib 1.005 and MSSQL::Sqllib 1.005 released.
General news
   - Now supports all known Perl versions from 5.003 and on.
   
- Added information about SQL Server 7 to the docs.
   
News for MSSQL::DBlib
   - New functions:
       dbsqlsend,
       dbsqlok,
       dbdataready,
       dbclrbuf,
       dbnextrow2,
       reformat_uniqueid and
       dbretdata2.
- Changed functions:
   
       -  dbrpcsend now has an
             optional parameter to specify that dbrpcsend should not wait for
             server response. dbrpcsend also provides wee support for the new
             SQL Server datatype uniqueidentifier.
       
- dbnextrow and
           dbretdata now have a
           parameter to specify that the result should returned as a reference.
       
- dberrhandle and
           dbmsghandle now warns if
           you pass name without module qualifications is warnings are activated.
       
 
- Deprecated functions in MSSQL::DBlib:
       dbnextrow and
       dbretdata are now deprecated in
       favour of dbnextrow2 and
       dbretdata2.
   
- The DLL is now linked at a non-default base address to improve startup time
       somewhat.
   
- A couple of minor fixes with regards to error checking, uninialized values
       and similar.
   
News for MSSQL::DBlib::Const
   - New constant in MSSQL::DBlib::Const::Datatypes: SQLUNIQUEIDENTIFIER.
   
- Warning about redefinition in MSSQL::DBlib::Const now suppressed.
   
- Fixed error in export list for MSSQL::DBlib::Const which prevented the
       re-export of all MSSQL::DBlib::Const::* modules that ended in "s" -
       about half of the modules.
News for MSSQL::Sqllib
    - New result style KEYED for
        sql and
        sql_sp which permits you to
        retrieve a result set as a hash keyed by the key columns of the result set.
    
- The handle attribute errInfo has
        several changes:
        
            - You can now specify per message nummer whether it is to be printed.
            
- By default all informational messages are now printed, save two
                login messages. The messages for arthimetic overflow and divizion by
                zero are printed with line number, procedure and SQL code. In MSSQL
                1.000 these messages was errnoneously suppressed.
            
- You can now also control
                 sql_error_handler
                 with the errInfo attribute.
            
- The element showplan has been removed, being redundant with other
                elements.
            
 
- New handle attributes procs and
         tables which are used by
         sql_sp and
         sql_insert respectively
         for caching information on stored procedures and tables.
     
- Using -w, MSSQL::Sqllib 1.000 would generate many warnings about
         use of unitialized values. This has been fixed. Also, MSSQL::Sqllib has
         more strict definitions how to handle empty result sets with various
         result styles.
     
- The function 
         sql_unset_conversion was accidently missing from the export list in
         MSSQL::Sqllib. This has been fixed.
     
- sql_set_conversion
         was not able to find the default server charset, if the current database
         was not master.
     
- A few more buglet fixes that I don't detail here.
     
1998-02-12
Fix release: the script name was incorrectly analysed at startup,
which could give "Name too long for loginrec field." Hopefully
this solves problems with using MSSQL::* with IIS.
1998-02-01
Initial release for ActiveState Perl only.
Last updated  03-01-01 17:59