home *** CD-ROM | disk | FTP | other *** search
- { *************************************************************************
-
- RELATIONAL DATABASE SYSTEMS, INC.
-
- PROPRIETARY DATA
-
- THIS WORK CONTAINS PROPRIETARY INFORMATION AND TRADE SECRETS WHICH ARE
- THE PROPERTY OF RELATIONAL DATABASE SYSTEMS, INC. (RDS). THIS DOCUMENT
- IS SUBMITTED TO RECIPIENT IN CONFIDENCE. THE INFORMATION CONTAINED
- HEREIN MAY NOT BE USED, COPIED OR DISCLOSED IN WHOLE OR IN PART EXCEPT
- AS PERMITTED BY WRITTEN AGREEMENT SIGNED BY AN OFFICER OF RDS.
-
- COPYRIGHT (c) 1981-1986 RELATIONAL DATABASE SYSTEMS, INC., PALO ALTO,
- CALIFORNIA. All rights reserved. No part of this work covered by the
- copyright hereon may be reproduced or used in any form or by any means
- -- graphic, electronic, or mechanical, including photocopying,
- recording, taping, or information storage and retrieval systems --
- without permission of RDS.
-
- Title: upsysmenu.sql
- Sccsid: @(#)updmenu.sql 4.1 10/9/86 09:32:47
- Description:
- script to update 2.0 user menu database to 2.1 user menu db
-
- **************************************************************************}
- update sysmenuitems set progname = nextmenu
- where nextmenu is not null and nextmenu != " "
- and (progname is null or progname = " ");
- select imenuname, itemnum, count(*) from sysmenuitems group by
- imenuname, itemnum having count(*) > 1;
- drop index meniidx;
- create unique index meniidx on sysmenuitems (imenuname, itemnum);
-
-