M. Lazarus wrote:

> Al,
>
> At 2/4/02 11:35 PM, you wrote:
> >Don't create SQL Data Bases or Schemas on the 400.  Use
> CRTLIB.  There are
> >many reasons why SQL is a second rate solution.
>
>   Can you be a little more specific?  I am involved in a
> project that has
> to make some decisions in that area. Thanks.

I don't think Al's being entirely fair.  If you are creating a database
that is to be accessed with ODBC or JDBC (or possibly embedded SQL),
creating it with the SQL CREATE COLLECTION statement is more convenient
than:
        creating the library
        creating a journal receiver
        creating a journal
        identifying the system names of all the files you created with
CREATE TABLE statements and starting journalling for each
(the files need to be journalled, as commitment control is what supports
transaction isolation).

My only complaint would be why IBM couldn't have used CREATE DATABASE
(which I think is ANSI standard SQL, though ICBW) instead of CREATE
COLLECTION.  That would be very helpful when you are writing a
database-independent creation script, as I was doing recently.

Cheers,

Martin.

--
Martin McCallion
Senior Technical Consultant
Work:  martin.mccallion@misys.com
Home: martin.mccallion@ukonline.co.uk
Misys International Banking Systems
1 St George's Road, London, SW19 4DR, UK
T +44 (0)20 8486 1951
F +44 (0) 20 8947 3373
www.misys.com
This email message is intended for the named recipient only. It may be
privileged and/or confidential. If you are not the  intended named
recipient of this email then you should not  copy it or use it for any
purpose, nor disclose its contents to any other person. You should
contact Misys International Banking Systems as shown below so that we
can take appropriate action at no cost to yourself.
Misys International Banking Systems Ltd,1 St
George's Road, London, SW19 4DR, UK. Email: ibs.postmaster@misys.com.
Tel: +44 (0) 20 8879 1188 Fax: +44 (0) 20 8947 3373
Misys International Banking Systems Ltd is
registered in England and Wales under company no. 971479

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.