| Title: | Oracle CDD/Repository nce |
| Notice: | Current versions are V7.0-01 and V6.1-03 eld Test 3 |
| Moderator: | 8292::PJACOB N |
| Created: | Thu Jan 21 1993 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1094 |
| Total number of notes: | 4913 |
Is it possible to DEFINE RECORD, containing FIELDs, that were
not already defined ?
For example
I can do
CDO> DEFINE FIELD F1 TEXT 4.
CDO> DEFINE FIELD F2 TEXT 4.
CDO> DEFINE FIELD F3 TEXT 4.
CDO> DEFINE RECORD R1.
Cont> F1.
Cont> F2.
Cont> F3.
CDO> END RECORD R1.
But I cannot do
CDO> DEFINE RECORD R1.
Cont> F1 TEXT 4.
Cont> F2 TEXT 4.
Cont> F3 TEXT 4.
CDO> END RECORD R1.
Is this possible ?
If yes, how do we do it ?
Any help would be highly appreciated.
Regards...Harish.
[Posted by WWW Notes gateway]
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1092.1 | no | 8292::PJACOB | Patrick [email protected] | Mon Jun 02 1997 07:11 | 6 |
Hi Harish,
both global fields and local fields need a defined field. Thus, I am
afraid that what you want does not exist ( yet ? ) in CDO.
Patrick
| |||||
| 1092.2 | NOVA::SMITHI | Don't understate or underestimate Rdb! | Mon Jun 02 1997 08:56 | 4 | |
Even in interfaces such as SQL and RDO domains (global fields) are always defined. Ian | |||||
| 1092.3 | problem solved; but used CDDL in stead. | ORAREP::RICE::MANGARAJU | Tue Jun 03 1997 03:28 | 13 | |
Thanks a lot for the replies.
I'd worked with Harish (the basenoter) on this.
We found that, we can do this using CDDL.
I mean we can have a DDL file containing the DEFINE RECORD command,
with fields, that were 'not already DEFINEd' and execute/compile
the DDL using:
$CDDL <ddl filename>.
One problem with CDDL though, is that, it does not support
multiple versions.
Regards...Raju.
| |||||
| 1092.4 | CDDL/VERSION ? | 8292::PJACOB | Patrick [email protected] | Tue Jun 03 1997 04:18 | 5 |
Hi Raju,
CDDL/VERSION creates new version if it is what you want.
Patrick
| |||||