isqlperl 1.2 
Author Message
 isqlperl 1.2

I've just released version 1.2 of isqlperl.  It's available by
anonymous ftp from: []



There are quite a lot of new features, mostly things that I've found
I needed to add to make it more useful to me.

Here's a repeat of the 1.1 announcement, followed by a list of changes:


There is now a perl interface to Informix SQL, available by anonymous
ftp from in /pub/perl/db/isqlperl.  You'll need perl
already installed, and you'll need Informix ESQL/C installed to build
it also.

This is *not* the notorious (and mythical) Infoperl, rather it's my
reaction to finally discovering that Infoperl never existed.

Nor is it DBperl compliant, so it will undoubtedly be supplanted by
DBperl in the not too distant future.

I've tested it on Informix 4.10 se and ol.



Changes from 1.1 to 1.2

$isql_code evaluates to a string error message when evaluated in a
string context, to a number in a numeric context.

Support for Byte and Text (Blobs), on insert and select, but not on
update :--(

Paramaterised statements (`?'s in string statements). Undef values
equate to nulls if supplied as separate parameters. Blobs are also
passed in this way.

New function &isql_titles($cid) returns an array of column names
associated with the open cursor $cid or the number of fields in a
scalar context.

minor bug fix re. execute `sometimes' freeing a database statement.

Added a man page.

Changed error on ``too many open cursors'' from -104 (too many open files)
to -276 (cursor not found).

Added &isql_databases() - returns list of databases.

New variable $isql_attrib replaces $isql_maxcursors.

&isql_open() now accepts non-select statements and returns a
statement id which can be executued using &isql_execute($id), with
optional parameters (&isql_execute() still accepts string statements
to execute immediately, after parameter substitution).

New function &isql_type($id) returns the type of a statement id created
by &isql_open(), as a string. For example 'SELECT'.

New function &isql_columns($id) returns a list of the data types associated
with the $id.

&isql_fetch() can now accept a string select statement - opens a cursor,
fetches the first row, closes the cursor, and returns the row.

New variable $isql_autoclose if set non-zero automatically closes select
cursors on reaching last row.

Renamed Winthrop Chans isql script to sql (apologies in advance) and
extended it somewhat to demo 1.2 features (and to be more useful).

added &isql_statement($cid) - returns associated statement.

added $isql_database - current database name.
      $isql_transactions - true if database has transactions.
      $isql_ansi - true if database is mode ANSI
      $isql_online - true if database is OnLine

Added a super-fast :-) library module to replace the
rather slow informix supplied script.





 | C.L.I. Connect Ltd.               |                                       |
 | 19, Quarry St., Guildford, Surrey | If you think big enough, you'll never |
 | GU1 3UY. Tel (UK) 0483 300 200    | have to do it.                        |

Sun, 09 Jun 1996 20:03:02 GMT
 [ 1 post ] 

 Relevant Pages 

1. isqlperl 1.2

2. isqlperl 1.2 BUG FIX

3. SMS 1.2 SP4: Serious troubles after ugrading from 1.1 to 1.2 SP4

4. CA OpenIngres 1.2 or MS SQL Server

5. Analysis Center Library (ACL) 1.2 just available !!!

6. Hallmore Group announces Analysis Center Library (ACL) 1.2

7. MMC 1.2

8. SQL Server 6.5 and SMS 1.2

9. Is SQL 7 compatible with SMS 1.2 ???

10. Upgrading the SQL Server where the SMS 1.2 Database resides

11. Help - Installing SMS 1.2 with SQLS7

12. SQL 7 and SMS 1.2 SP 4 install problems

Powered by phpBB® Forum Software