home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
model_createind.dbt
< prev
next >
Wrap
Text File
|
1997-06-27
|
906b
|
55 lines
# Template @(#)model_createind.dbt /main/titanic/4 26 Jun 1997
# Copyright (c) 1997 Cayenne Software, Inc.
#
~[invoke db_util];
# Can't use ddl commands within transaction. This script is always
# invoked from within a transaction, so commit current transaction.
#
commit tran;
#
# Create indices on tables
#
~[createUniqueIndex DML_Header 1] (
c_hdmlobj,
c_revision
);
~[createUniqueIndex DML_Scalar 1] (
c_hdmlobj,
c_revision
);
~[createUniqueIndex DML_Relation 1] (
c_hdmlobjLeft,
c_roleLeft,
c_hdmlobjRight,
c_roleRight,
c_revision
);
~[createIndex DML_Relation 2] (
c_hdmlobjRight,
c_roleRight,
c_revision
);
~[createIndex DML_Relation 3] (
c_hdmlobjLeft,
c_roleLeft,
c_revision
);
~[createUniqueIndex DML_Unique 1] (
c_hdmlobjParent,
c_roleParent,
c_propertyDep,
c_uniqueValue,
c_removed
);
begin tran;