× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: DDS Support
  • From: "Eric N. Wilson" <doulos1@xxxxxxxx>
  • Date: Wed, 28 Jun 2000 21:34:40 -0700

Snip...
> >But back to the main topic, I would propose energy should be spent
> >having SQL enhanced to allow for a REFFLD type of definition and any
> >other feature that PF/LF DDS possesses that is not within SQL.  In the
> >mean time, I'll write my own data dictionary and format definition
> >processor which does have REFFLD capability and use it to generate the
SQL.
>
>   Now here's the rub.  Putting those features in SQL would make SQL
> non-compatible w/ the rest of the world.  So all the cross platform
> compatibility arguments fall my the wayside.  So now we're back where we
> started from - IBM may as well enhance DDS and get it over with.

What about the Domain keyword that most every SQL implementation I know of
other than DB2 UDB supports? Then you can say that this field is a
AccountNumber field and it would take on the attributes of the Domain
AccountNumber.

The syntax for the command is

Create Domain AccountNumber as Integer

Or you could be more creative and add check constraints to the domain

Create Domain AccountNumber as Integer
    Check((Value >= 100) Or Value Is Null)

Then you will have the Handy Dandy AccountNumber DataType available for your
SQL enjoyment :-)


______________________________________________
Eric N. Wilson
President
Doulos Software & Computer Services
2913 N Alder St.
Tacoma WA 98407




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.