home *** CD-ROM | disk | FTP | other *** search
-
- /* $Header: S:/DBMS/OS2/SCRIPTS/PVCS/INSTMODL.SQV 4.0 10 Oct 1991 19:06:42 YUMEI $ */
- use model
- go
- if exists (select *
- from sysobjects
- where name = 'sp_configure')
- begin
- execute sp_configure 'update', 1
- end
- reconfigure with override
- go
- /*
- ** @(#)instmodl.sql 82.1 3/11/91
- **
- ** Copyright Sybase, Inc. 1986, 1987, 1988, 1989
- ** All Rights Reserved.
- ** Use, duplication, or disclosure by the United States Government
- ** is subject to restrictions as set forth in subdivision (c) (1) (ii)
- ** of the Rights in Technical Data and Computer Software clause
- ** at CFR 252.227-7013. Sybase, Inc. 6475 Christie Avenue, Emeryville,
- ** CA 94608.
- **
- ** Stored procedures for Data Dictionary Operations
- */
- go
- /* a_permitboth 45.1 12/16/89 */
- grant select on sysalternates to public
- grant select on syscolumns to public
- grant select on syscomments to public
- grant select on sysdepends to public
- grant select on sysindexes to public
- grant select on syskeys to public
- grant select on sysobjects to public
- grant select on sysprocedures to public
- grant select on sysprotects to public
- grant select on syssegments to public
- grant select on systypes to public
- grant select on sysusers to public
- grant select on syslogs to public
- go
- dump transaction model to diskdump with truncate_only
- go
- use master
- go
- sp_configure "allow updates",0
- go
- reconfigure with override
- go
- print 'Loading of model database is complete.'
- go
-